diff options
| author | gregory guy <gregory-tde@laposte.net> | 2020-10-12 15:43:57 +0200 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2020-11-05 18:49:06 +0100 |
| commit | f84a48543b2471121d36334e094e0f85f9b9c431 (patch) | |
| tree | 82d605f1f611a679bce6848d71ddaaf783be9287 /src/electronics/components/CMakeLists.txt | |
| parent | 33040db93b91f5ca502dcc682d944fcfe4cd331a (diff) | |
| download | ktechlab-f84a4854.tar.gz ktechlab-f84a4854.zip | |
Conversion to the cmake building system.
Added man pages taken from the Debian packaging system.
Move the ktechlab.desktop file into XDG_APPS_INSTALL_DIR directory,
see TDE/tde#26 and bug 2408.
Signed-off-by: gregory guy <gregory-tde@laposte.net>
(cherry picked from commit a9c86866c380e503dd75797b5c2d129bfb622a9e)
Diffstat (limited to 'src/electronics/components/CMakeLists.txt')
| -rw-r--r-- | src/electronics/components/CMakeLists.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/src/electronics/components/CMakeLists.txt b/src/electronics/components/CMakeLists.txt new file mode 100644 index 0000000..7850d19 --- /dev/null +++ b/src/electronics/components/CMakeLists.txt @@ -0,0 +1,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 +) |
