diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-29 12:11:35 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2017-04-29 12:11:35 +0200 |
commit | dcef13a23c06398c0c9b3145c08b28d1110bc169 (patch) | |
tree | df8d3227b3d71fdd356b3c1e69c62533d1759f72 /app/bin/CMakeLists.txt | |
parent | 3e11d9c0e6173fce8a482efed8d7f965e8bd6dfa (diff) | |
parent | 16e9630b79f0a7a90c6cedb6781175bb8b337dc1 (diff) |
Merge tag 'upstream/4.3.0'
Upstream version 4.3.0
Diffstat (limited to 'app/bin/CMakeLists.txt')
-rw-r--r-- | app/bin/CMakeLists.txt | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/bin/CMakeLists.txt b/app/bin/CMakeLists.txt index 4bc9fdc..ee0886d 100644 --- a/app/bin/CMakeLists.txt +++ b/app/bin/CMakeLists.txt @@ -65,6 +65,7 @@ SET(SOURCES bllnhlp.c cblock.c ccurve.c + ccontrol.c cdraw.c celev.c cgroup.c @@ -81,8 +82,10 @@ SET(SOURCES cpull.c cruler.c cselect.c + csensor.c csnap.c csplit.c + csignal.c cstraigh.c cstruct.c cswitchmotor.c @@ -98,6 +101,7 @@ SET(SOURCES dcar.c dcmpnd.c dcustmgm.c + dcontmgm.c dease.c denum.c dlayer.c @@ -106,6 +110,8 @@ SET(SOURCES dprmfile.c draw.c drawgeom.c + dxfformat.c + dxfoutput.c elev.c fileio.c i18n.c @@ -148,6 +154,7 @@ ADD_EXECUTABLE(xtrkcad WIN32 ) TARGET_LINK_LIBRARIES(xtrkcad xtrkcad-lib) TARGET_LINK_LIBRARIES(xtrkcad xtrkcad-wlib) +target_link_libraries(xtrkcad dynstring) ADD_EXECUTABLE(mkturnout ${LIN_SOURCES} @@ -169,7 +176,23 @@ ELSE(NOT WIN32) TARGET_LINK_LIBRARIES(mkturnout xtrkcad-wlib) ENDIF(NOT WIN32) +# for testing only, should be IF(APPLE) ... +IF(APPLE) + ADD_EXECUTABLE( helphelper helphelper.c ) + FIND_LIBRARY(COREFOUNDATION_LIBRARY CoreFoundation) + FIND_LIBRARY(CARBON_LIBRARY Carbon) + TARGET_lINK_LIBRARIES(helphelper ${COREFOUNDATION_LIBRARY} ${CARBON_LIBRARY}) + INSTALL( + TARGETS helphelper + RUNTIME DESTINATION ${XTRKCAD_BIN_INSTALL_DIR} + ) +ENDIF(APPLE) + INSTALL( TARGETS xtrkcad RUNTIME DESTINATION ${XTRKCAD_BIN_INSTALL_DIR} ) + +if(XTRKCAD_TESTING AND CMOCKA_FOUND) + add_subdirectory( unittest ) +endif() |