mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 13:54:21 +00:00
cmake: output binaries to the build directory (ie. instead of Release/Debug subfolders)
This commit is contained in:
parent
4ffc2bbb5e
commit
c3945d9ede
1 changed files with 1 additions and 0 deletions
|
|
@ -168,6 +168,7 @@ foreach(CONFIG_TYPE ${CMAKE_CONFIGURATION_TYPES})
|
|||
string(TOUPPER ${CONFIG_TYPE} CONFIG_TYPE)
|
||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY_${CONFIG_TYPE} ${ZIG_CPP_LIB_DIR})
|
||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY_${CONFIG_TYPE} ${ZIG_CPP_LIB_DIR})
|
||||
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY_${CONFIG_TYPE} ${CMAKE_BINARY_DIR})
|
||||
endforeach(CONFIG_TYPE CMAKE_CONFIGURATION_TYPES)
|
||||
|
||||
include_directories(${LLVM_INCLUDE_DIRS})
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue