mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2025-07-12 10:44:58 +03:00
CMake: don't hardcode build directories
Our CMake project used to forcefully create and use two different build directories: "build" and "tmp". This commit changes the behavior so that only the build directory CMake is ran in is used. The "configure" script now runs CMake in "build" by default, instead of "tmp".
This commit is contained in:
@ -1,17 +1,3 @@
|
||||
add_executable(hamcorebuilder hamcorebuilder.c)
|
||||
|
||||
set_target_properties(hamcorebuilder
|
||||
PROPERTIES
|
||||
ARCHIVE_OUTPUT_DIRECTORY "${TOP_DIRECTORY}/tmp"
|
||||
LIBRARY_OUTPUT_DIRECTORY "${TOP_DIRECTORY}/tmp"
|
||||
RUNTIME_OUTPUT_DIRECTORY "${TOP_DIRECTORY}/tmp"
|
||||
)
|
||||
|
||||
if(WIN32)
|
||||
set_target_properties(hamcorebuilder
|
||||
PROPERTIES
|
||||
PDB_OUTPUT_DIRECTORY "${TOP_DIRECTORY}/tmp"
|
||||
)
|
||||
endif()
|
||||
|
||||
target_link_libraries(hamcorebuilder cedar mayaqua)
|
||||
|
Reference in New Issue
Block a user