Move DoConfig_debug naming to the root CMakeLists.txt
This commit is contained in:
parent
5b89a31976
commit
50897e8ceb
2 changed files with 4 additions and 6 deletions
|
@ -292,9 +292,7 @@ set_target_properties(CSE2 PROPERTIES
|
||||||
)
|
)
|
||||||
|
|
||||||
# Name debug builds "CSE2_debug", to distinguish them
|
# Name debug builds "CSE2_debug", to distinguish them
|
||||||
set_target_properties(CSE2 PROPERTIES
|
set_target_properties(CSE2 PROPERTIES DEBUG_OUTPUT_NAME "CSE2_debug")
|
||||||
DEBUG_OUTPUT_NAME "CSE2_debug"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Send executable to the build_en/build_jp directory
|
# Send executable to the build_en/build_jp directory
|
||||||
set_target_properties(CSE2 PROPERTIES
|
set_target_properties(CSE2 PROPERTIES
|
||||||
|
@ -369,6 +367,9 @@ endif()
|
||||||
|
|
||||||
add_subdirectory("DoConfig")
|
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
|
# Send executable to the build_en/build_jp directory
|
||||||
set_target_properties(DoConfig PROPERTIES
|
set_target_properties(DoConfig PROPERTIES
|
||||||
RUNTIME_OUTPUT_DIRECTORY ${BUILD_DIRECTORY}
|
RUNTIME_OUTPUT_DIRECTORY ${BUILD_DIRECTORY}
|
||||||
|
|
|
@ -10,9 +10,6 @@ project(DoConfig LANGUAGES CXX)
|
||||||
|
|
||||||
add_executable(DoConfig "DoConfig.cpp" "icon.rc")
|
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
|
# Windows tweak
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
set_target_properties(DoConfig PROPERTIES WIN32_EXECUTABLE YES) # Disable the console window
|
set_target_properties(DoConfig PROPERTIES WIN32_EXECUTABLE YES) # Disable the console window
|
||||||
|
|
Loading…
Add table
Reference in a new issue