From a500fcd97c1f5c620f2efcab2dc9053f85e403be Mon Sep 17 00:00:00 2001 From: veclavtalica Date: Wed, 25 Sep 2024 19:37:39 +0300 Subject: [PATCH] don't build any app directly from root CMakeLists.txt --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a66ef57..b183690 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -353,11 +353,6 @@ link_deps(${TWN_TARGET}) target_link_libraries(${TWN_TARGET} PUBLIC twn_third_parties) target_include_directories(${TWN_TARGET} PRIVATE ${TWN_ROOT_DIR}/src) -# build the testgame if this cmake list is built directly -if(${CMAKE_PROJECT_NAME} MATCHES townengine) - add_subdirectory(apps/testgame) -endif() - # move compie_commands.json into root directory so that it plays nicer with code editors without any configuration add_custom_target(copy-compile-commands ALL ${CMAKE_COMMAND} -E copy_if_different ${CMAKE_BINARY_DIR}/compile_commands.json