summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/CMakeLists.txt
blob: 7850d193427cc9468dcd8fd48bb7e7c509b21d20 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
include_directories(
  ${CMAKE_BINARY_DIR}
  ${CMAKE_CURRENT_BINARY_DIR}
  ${CMAKE_CURRENT_SOURCE_DIR}
  ${TDE_INCLUDE_DIR}
  ${TQT_INCLUDE_DIRS}
  ${CMAKE_SOURCE_DIR}/src
  ${CMAKE_SOURCE_DIR}/src/electronics
  ${CMAKE_SOURCE_DIR}/src/electronics/components
  ${CMAKE_SOURCE_DIR}/src/electronics/simulation
  ${CMAKE_SOURCE_DIR}/src/gui
  ${CMAKE_SOURCE_DIR}/src/languages
  ${CMAKE_SOURCE_DIR}/src/micro
  ${GLIB_INCLUDE_DIRS}
  ${GPSIM_INCLUDE_DIRS}
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### components (static)

tde_add_library( components STATIC_PIC AUTOMOC

  SOURCES
        ecresistor.cpp ecled.cpp ecdiode.cpp
        ecsevensegment.cpp eckeypad.cpp
        eccapacitor.cpp ec555.cpp eccurrentsource.cpp
        ecfixedvoltage.cpp ecbcdto7segment.cpp
        ecsignallamp.cpp ecclockinput.cpp
        ecpotentiometer.cpp ecopamp.cpp ecvoltagesource.cpp
        eccurrentsignal.cpp ecvoltagesignal.cpp
        ecground.cpp multiinputgate.cpp fulladder.cpp
        multiplexer.cpp demultiplexer.cpp externalconnection.cpp
        ecsubcircuit.cpp meter.cpp probe.cpp resistordip.cpp
        addac.cpp dependentsource.cpp flipflop.cpp
        toggleswitch.cpp pushswitch.cpp ram.cpp
        discretelogic.cpp piccomponent.cpp piccomponentpin.cpp
        binarycounter.cpp bidirled.cpp matrixdisplay.cpp
        bussplitter.cpp matrixdisplaydriver.cpp
        magnitudecomparator.cpp serialportcomponent.cpp
        parallelportcomponent.cpp inductor.cpp ecbjt.cpp
        rotoswitch.cpp
  LINK
     elements-static
)