summaryrefslogtreecommitdiffstats
path: root/src/electronics/simulation/CMakeLists.txt
blob: 4fb0eba91585eb8bb5fb863168278b33f66d012b (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
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
)

link_directories(
  ${TQT_LIBRARY_DIRS}
  ${TDE_LIB_DIR}
)


##### elements (static)

tde_add_library( elements STATIC_PIC AUTOMOC

  SOURCES
        cccs.cpp ccvs.cpp circuit.cpp currentsource.cpp
        diode.cpp element.cpp elementset.cpp logic.cpp
        matrix.cpp vccs.cpp vcvs.cpp voltagesource.cpp
        capacitance.cpp resistance.cpp currentsignal.cpp
        voltagepoint.cpp voltagesignal.cpp elementsignal.cpp
        nonlinear.cpp reactive.cpp vec.cpp bjt.cpp
        opamp.cpp inductance.cpp
  DEPENDENCIES
        core-static
)