mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-22 02:41:49 -05:00
CMake: Place all the built files in BUILD_DIR/bin/<Configuration> when compiling with MSVC
This commit is contained in:
parent
d5be332d21
commit
8712c9dcd6
1 changed files with 2 additions and 0 deletions
|
@ -9,6 +9,8 @@ if (NOT MSVC)
|
||||||
else()
|
else()
|
||||||
# Silence deprecation warnings
|
# Silence deprecation warnings
|
||||||
add_definitions(/D_CRT_SECURE_NO_WARNINGS)
|
add_definitions(/D_CRT_SECURE_NO_WARNINGS)
|
||||||
|
# set up output paths for executable binaries (.exe-files, and .dll-files on DLL-capable platforms)
|
||||||
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
|
||||||
endif()
|
endif()
|
||||||
add_definitions(-DSINGLETHREADED)
|
add_definitions(-DSINGLETHREADED)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue