mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-12 09:08:58 -05:00
Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds.
This commit is contained in:
@@ -40,6 +40,8 @@ macro(_do_build Include Library LibrarySource Source)
|
|||||||
|
|
||||||
"set(CMAKE_INCLUDE_CURRENT_DIR ON)\n"
|
"set(CMAKE_INCLUDE_CURRENT_DIR ON)\n"
|
||||||
|
|
||||||
|
"set(CMAKE_RUNTIME_OUTPUT_DIRECTORY \${CMAKE_CURRENT_BINARY_DIR})\n"
|
||||||
|
|
||||||
"include(GenerateExportHeader)\n"
|
"include(GenerateExportHeader)\n"
|
||||||
|
|
||||||
"add_compiler_export_flags()\n"
|
"add_compiler_export_flags()\n"
|
||||||
@@ -111,6 +113,8 @@ if (MSVC)
|
|||||||
add_definitions(-DCOMPILER_IS_MSVC)
|
add_definitions(-DCOMPILER_IS_MSVC)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
|
||||||
|
|
||||||
set(link_libraries)
|
set(link_libraries)
|
||||||
macro(macro_add_test_library name)
|
macro(macro_add_test_library name)
|
||||||
add_subdirectory(${name})
|
add_subdirectory(${name})
|
||||||
|
|||||||
Reference in New Issue
Block a user