Warning, /games/killbots/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
0002 
0003 add_executable(enginetest)
0004 target_include_directories(enginetest
0005     PRIVATE
0006         ${CMAKE_CURRENT_SOURCE_DIR}/..
0007         ${CMAKE_CURRENT_BINARY_DIR}/..
0008 )
0009 
0010 target_source(enginetest PRIVATE
0011     enginetest.cpp enginetest.h
0012     ../coordinator.cpp
0013     ../engine.cpp
0014     ../numericdisplayitem.cpp
0015     ../renderer.cpp
0016     ../ruleset.cpp
0017     ../scene.cpp
0018     ../sprite.cpp
0019 )
0020 
0021 kconfig_add_kcfg_files(enginetest ../settings.kcfgc ../rulesetbase.kcfgc)
0022 
0023 target_link_libraries(enginetest
0024     KF5KDEGames
0025     KF5::KDELibs4Support
0026     Qt::Test
0027 )
0028 
0029 add_test(NAME enginetest COMMAND enginetest)
0030 ecm_mark_as_test(enginetest)