ref: 50897e8ceb41f2183c74a30d647256ed6de34d8e
parent: 5b89a3197603e9d16d3b198288dbb6622b7ecc94
author: Clownacy <[email protected]>
date: Thu May 23 17:29:32 EDT 2019
Move DoConfig_debug naming to the root CMakeLists.txt
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -292,9 +292,7 @@
)
# 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
@@ -368,6 +366,9 @@
##
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
--- a/DoConfig/CMakeLists.txt
+++ b/DoConfig/CMakeLists.txt
@@ -10,9 +10,6 @@
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