diff options
author | Brad King <brad.king@kitware.com> | 2007-07-02 13:58:08 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-07-02 13:58:08 (GMT) |
commit | c8b263c674d9c75232b4317b57259b1bbff88016 (patch) | |
tree | 89cf916317f64fb6520810aedfa0362afc420615 /Tests | |
parent | 5c00dda8cee2886bea3cfb72f25b2da179af6ecd (diff) | |
download | CMake-c8b263c674d9c75232b4317b57259b1bbff88016.zip CMake-c8b263c674d9c75232b4317b57259b1bbff88016.tar.gz CMake-c8b263c674d9c75232b4317b57259b1bbff88016.tar.bz2 |
ENH: Enable versioned executable test everywhere but XCode.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 4 | ||||
-rw-r--r-- | Tests/SimpleInstallS2/CMakeLists.txt | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index 1f80b32..3d619ee 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -240,7 +240,9 @@ ELSE(STAGE2) SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES OUTPUT_NAME SimpleInstallExe) # Disable VERSION test until it is implemented in the XCode generator. - #SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES VERSION 1.2) + IF(NOT XCODE) + SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES VERSION 1.2) + ENDIF(NOT XCODE) SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES PRE_INSTALL_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/PreInstall.cmake) SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES POST_INSTALL_SCRIPT diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt index 1f80b32..3d619ee 100644 --- a/Tests/SimpleInstallS2/CMakeLists.txt +++ b/Tests/SimpleInstallS2/CMakeLists.txt @@ -240,7 +240,9 @@ ELSE(STAGE2) SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES OUTPUT_NAME SimpleInstallExe) # Disable VERSION test until it is implemented in the XCode generator. - #SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES VERSION 1.2) + IF(NOT XCODE) + SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES VERSION 1.2) + ENDIF(NOT XCODE) SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES PRE_INSTALL_SCRIPT ${CMAKE_CURRENT_SOURCE_DIR}/PreInstall.cmake) SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES POST_INSTALL_SCRIPT |