From 50897e8ceb41f2183c74a30d647256ed6de34d8e Mon Sep 17 00:00:00 2001 From: Clownacy Date: Thu, 23 May 2019 21:29:32 +0100 Subject: [PATCH] Move DoConfig_debug naming to the root CMakeLists.txt --- CMakeLists.txt | 7 ++++--- DoConfig/CMakeLists.txt | 3 --- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ce750588..9fb63af5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -292,9 +292,7 @@ set_target_properties(CSE2 PROPERTIES ) # Name debug builds "CSE2_debug", to distinguish them -set_target_properties(CSE2 PROPERTIES - DEBUG_OUTPUT_NAME "CSE2_debug" -) +set_target_properties(CSE2 PROPERTIES DEBUG_OUTPUT_NAME "CSE2_debug") # Send executable to the build_en/build_jp directory set_target_properties(CSE2 PROPERTIES @@ -369,6 +367,9 @@ endif() add_subdirectory("DoConfig") +# Name debug builds "DoConfig_debug", to distinguish them +set_target_properties(DoConfig PROPERTIES DEBUG_OUTPUT_NAME "DoConfig_debug") + # Send executable to the build_en/build_jp directory set_target_properties(DoConfig PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${BUILD_DIRECTORY} diff --git a/DoConfig/CMakeLists.txt b/DoConfig/CMakeLists.txt index 7b5f71ad..a2973d94 100644 --- a/DoConfig/CMakeLists.txt +++ b/DoConfig/CMakeLists.txt @@ -10,9 +10,6 @@ project(DoConfig LANGUAGES CXX) add_executable(DoConfig "DoConfig.cpp" "icon.rc") -# Name debug builds "DoConfig_debug", to distinguish them -set_target_properties(DoConfig PROPERTIES DEBUG_OUTPUT_NAME "DoConfig_debug") - # Windows tweak if(WIN32) set_target_properties(DoConfig PROPERTIES WIN32_EXECUTABLE YES) # Disable the console window