summaryrefslogtreecommitdiffstats
path: root/Tests/SimpleInstallS2
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2007-10-01 19:57:34 (GMT)
committerDavid Cole <david.cole@kitware.com>2007-10-01 19:57:34 (GMT)
commit890efa79807df367f506a3d35fe9a6b323133b2d (patch)
treedde7ab0d8130e1098c06d279297ad872c8ad10d6 /Tests/SimpleInstallS2
parente6d45a2cf5f7055fcccb0a6679c586fd2791e243 (diff)
downloadCMake-890efa79807df367f506a3d35fe9a6b323133b2d.zip
CMake-890efa79807df367f506a3d35fe9a6b323133b2d.tar.gz
CMake-890efa79807df367f506a3d35fe9a6b323133b2d.tar.bz2
COMP: Rename the executables for the SimpleInstall tests so that the executable files that run during the test do not have the word install in their file names. This allows running the tests on Windows Vista without admin privileges and without adding a manifest containing the asInvoker requestedExecutionLevel element.
Diffstat (limited to 'Tests/SimpleInstallS2')
-rw-r--r--Tests/SimpleInstallS2/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/SimpleInstallS2/CMakeLists.txt b/Tests/SimpleInstallS2/CMakeLists.txt
index f94ac71..0d3b807 100644
--- a/Tests/SimpleInstallS2/CMakeLists.txt
+++ b/Tests/SimpleInstallS2/CMakeLists.txt
@@ -65,9 +65,9 @@ IF(STAGE2)
DOC "Fourth library")
INCLUDE_DIRECTORIES(${CMAKE_INSTALL_PREFIX}/MyTest/include)
- ADD_EXECUTABLE (SimpleInstallS2 inst2.cxx foo.c foo.h)
- TARGET_LINK_LIBRARIES(SimpleInstallS2 ${TEST1_LIBRARY} ${TEST2_LIBRARY} ${TEST4_LIBRARY})
- SET(install_target SimpleInstallS2)
+ ADD_EXECUTABLE (SimpleInstExeS2 inst2.cxx foo.c foo.h)
+ TARGET_LINK_LIBRARIES(SimpleInstExeS2 ${TEST1_LIBRARY} ${TEST2_LIBRARY} ${TEST4_LIBRARY})
+ SET(install_target SimpleInstExeS2)
IF("${TEST1_LIBRARY}" MATCHES "static")
MESSAGE(STATUS "test1 correctly found in lib/static")
@@ -130,10 +130,10 @@ IF(STAGE2)
ENDIF(EMPTY_FILES)
# Make sure the test executable can run from the install tree.
- SET_TARGET_PROPERTIES(SimpleInstallS2 PROPERTIES
+ SET_TARGET_PROPERTIES(SimpleInstExeS2 PROPERTIES
INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/MyTest/lib)
- INSTALL_TARGETS(/MyTest/bin SimpleInstallS2)
+ INSTALL_TARGETS(/MyTest/bin SimpleInstExeS2)
# try to import the exported targets again
SET(SimpleInstallS1_DIR ${CMAKE_INSTALL_PREFIX}/MyTest/lib)
@@ -260,7 +260,7 @@ ELSE(STAGE2)
SET_DIRECTORY_PROPERTIES(PROPERTIES
ADDITIONAL_MAKE_CLEAN_FILES ${CMAKE_INSTALL_PREFIX}/InstallScriptOut.cmake)
- SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES OUTPUT_NAME SimpleInstallExe)
+ SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES OUTPUT_NAME SimpleInstExe)
# Disable VERSION test until it is implemented in the XCode generator.
IF(NOT XCODE)
SET_TARGET_PROPERTIES(SimpleInstall PROPERTIES VERSION 1.2)