diff options
author | Stephen Kelly <steveire@gmail.com> | 2011-08-10 19:01:42 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2011-08-10 19:01:42 (GMT) |
commit | af443b830b550454cf9bdd21a49183eb6e4ba22e (patch) | |
tree | 19a0b89b916bb36d1b36bf36385ba66c891a9f2b /Tests/Module | |
parent | 61726f867eef69bea9237fb0b20c29b1ab3e35c1 (diff) | |
download | CMake-af443b830b550454cf9bdd21a49183eb6e4ba22e.zip CMake-af443b830b550454cf9bdd21a49183eb6e4ba22e.tar.gz CMake-af443b830b550454cf9bdd21a49183eb6e4ba22e.tar.bz2 |
Set the CMAKE_RUNTIME_OUTPUT_DIRECTORY for windows builds.
Diffstat (limited to 'Tests/Module')
-rw-r--r-- | Tests/Module/GenerateExportHeader/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/Module/GenerateExportHeader/CMakeLists.txt b/Tests/Module/GenerateExportHeader/CMakeLists.txt index 6374087..0cc67a9 100644 --- a/Tests/Module/GenerateExportHeader/CMakeLists.txt +++ b/Tests/Module/GenerateExportHeader/CMakeLists.txt @@ -40,6 +40,8 @@ macro(_do_build Include Library LibrarySource Source) "set(CMAKE_INCLUDE_CURRENT_DIR ON)\n" + "set(CMAKE_RUNTIME_OUTPUT_DIRECTORY \${CMAKE_CURRENT_BINARY_DIR})\n" + "include(GenerateExportHeader)\n" "add_compiler_export_flags()\n" @@ -111,6 +113,8 @@ if (MSVC) add_definitions(-DCOMPILER_IS_MSVC) endif() +set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}) + set(link_libraries) macro(macro_add_test_library name) add_subdirectory(${name}) |