diff options
author | Brad King <brad.king@kitware.com> | 2007-03-12 14:23:06 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-03-12 14:23:06 (GMT) |
commit | cf7eeab37aa644a0a09cb40e8958d99e8d771857 (patch) | |
tree | 26654def4fd4d24ad01f258be6ab7ca446390fcb /Tests/SimpleInstallS2 | |
parent | c03217d5609488b997313517abbac69abcabebc8 (diff) | |
download | CMake-cf7eeab37aa644a0a09cb40e8958d99e8d771857.zip CMake-cf7eeab37aa644a0a09cb40e8958d99e8d771857.tar.gz CMake-cf7eeab37aa644a0a09cb40e8958d99e8d771857.tar.bz2 |
ENH: Testing new target properties RUNTIME_OUTPUT_DIRECTORY, LIBRARY_OUTPUT_DIRECTORY, and ARCHIVE_OUTPUT_DIRECTORY. This is an incremental fix for bug#2240 and bug#4210.
Diffstat (limited to 'Tests/SimpleInstallS2')
-rw-r--r-- | Tests/SimpleInstallS2/CMakeLists.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index a762915..69b79f3 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -1,8 +1,11 @@ PROJECT (TestSimpleInstall) SET(CMAKE_VERBOSE_MAKEFILE 1) -#SET(EXECUTABLE_OUTPUT_PATH "${TestSimpleInstall_BINARY_DIR}/This is exec path") -SET(EXECUTABLE_OUTPUT_PATH "${TestSimpleInstall_BINARY_DIR}/ExecPath") -SET(LIBRARY_OUTPUT_PATH "${EXECUTABLE_OUTPUT_PATH}") +SET(CMAKE_RUNTIME_OUTPUT_DIRECTORY + "${TestSimpleInstall_BINARY_DIR}/bin dir") +SET(CMAKE_ARCHIVE_OUTPUT_DIRECTORY + "${TestSimpleInstall_BINARY_DIR}/lib static") +SET(CMAKE_LIBRARY_OUTPUT_DIRECTORY + "${TestSimpleInstall_BINARY_DIR}/lib dir") # Skip generating the rpath pointing at the build tree to make sure # the executable is installed with the proper rpath in the install |