Warning, /sdk/ktechlab/tests/tests_app/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 0002 set(SRC_DIR ${PROJECT_SOURCE_DIR}/src/) 0003 0004 include_directories( 0005 ${SRC_DIR} # needed for subdirs 0006 ${SRC_DIR}/core 0007 ${CMAKE_BINARY_DIR}/src/core # for the kcfg file 0008 ${SRC_DIR}/drawparts 0009 ${SRC_DIR}/electronics 0010 ${SRC_DIR}/electronics/components 0011 ${SRC_DIR}/electronics/simulation 0012 ${SRC_DIR}/flowparts 0013 ${SRC_DIR}/gui 0014 ${CMAKE_BINARY_DIR}/src/gui # for ui-generated files 0015 ${SRC_DIR}/gui/itemeditor 0016 ${SRC_DIR}/languages 0017 ${SRC_DIR}/mechanics 0018 ${SRC_DIR}/micro 0019 ) 0020 if(GPSim_FOUND) 0021 include_directories(SYSTEM ${GPSim_INCLUDE_DIRS}) 0022 kde_enable_exceptions() 0023 endif() 0024 0025 add_executable(tests_app tests_app.cpp) 0026 0027 target_link_libraries( tests_app 0028 test_ktechlab 0029 # ktlqt3support 0030 #core 0031 # gui micro flowparts 0032 # mechanics electronics elements components languages drawparts 0033 # itemeditor 0034 # test_ktechlab 0035 # math 0036 KF5::ConfigCore 0037 KF5::ConfigGui 0038 KF5::KIOCore 0039 KF5::CoreAddons 0040 KF5::XmlGui 0041 KF5::TextEditor 0042 0043 Qt5::Widgets 0044 Qt5::Test 0045 ) 0046 if(GPSim_FOUND) 0047 target_link_libraries(tests_app ${GPSim_LIBRARIES}) 0048 endif()