diff options
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 30642edd7..cd990188e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt | |||
| @@ -123,8 +123,6 @@ else() | |||
| 123 | # Avoid windows.h from including some usually unused libs like winsocks.h, since this might cause some redefinition errors. | 123 | # Avoid windows.h from including some usually unused libs like winsocks.h, since this might cause some redefinition errors. |
| 124 | add_definitions(/DWIN32_LEAN_AND_MEAN) | 124 | add_definitions(/DWIN32_LEAN_AND_MEAN) |
| 125 | 125 | ||
| 126 | # set up output paths for executable binaries (.exe-files, and .dll-files on DLL-capable platforms) | ||
| 127 | set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin) | ||
| 128 | set(CMAKE_CONFIGURATION_TYPES Debug Release CACHE STRING "" FORCE) | 126 | set(CMAKE_CONFIGURATION_TYPES Debug Release CACHE STRING "" FORCE) |
| 129 | 127 | ||
| 130 | # Tweak optimization settings | 128 | # Tweak optimization settings |
| @@ -440,8 +438,12 @@ enable_testing() | |||
| 440 | add_subdirectory(externals) | 438 | add_subdirectory(externals) |
| 441 | add_subdirectory(src) | 439 | add_subdirectory(src) |
| 442 | 440 | ||
| 443 | # Set yuzu project as default StartUp Project in Visual Studio | 441 | # Set yuzu project or yuzu-cmd project as default StartUp Project in Visual Studio depending on whether QT is enabled or not |
| 444 | set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu) | 442 | if(ENABLE_QT) |
| 443 | set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu) | ||
| 444 | else() | ||
| 445 | set_property(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT yuzu-cmd) | ||
| 446 | endif() | ||
| 445 | 447 | ||
| 446 | 448 | ||
| 447 | # Installation instructions | 449 | # Installation instructions |