Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
CMake
CMake
Commits
b0d05cf0
Commit
b0d05cf0
authored
Aug 17, 2005
by
Brad King
💬
Browse files
ENH: Updated SimpleInstall test to test new versioned executable and OUTPUT_NAME support.
parent
d392acb4
Changes
3
Hide whitespace changes
Inline
Side-by-side
Source/CMakeLists.txt
View file @
b0d05cf0
...
...
@@ -427,7 +427,7 @@ IF(BUILD_TESTING)
--build-two-config
--build-options
"-DCMAKE_INSTALL_PREFIX:PATH=
${
SimpleInstallInstallDir
}
"
--test-command
${
SimpleInstallInstallDir
}
/bin/SimpleInstall
)
--test-command
${
SimpleInstallInstallDir
}
/bin/SimpleInstall
Exe
)
ADD_TEST
(
SimpleInstall-Stage2
${
CMAKE_CTEST_COMMAND
}
--build-and-test
"
${
CMake_SOURCE_DIR
}
/Tests/SimpleInstallS2"
...
...
Tests/SimpleInstall/CMakeLists.txt
View file @
b0d05cf0
...
...
@@ -65,6 +65,8 @@ ELSE(STAGE2)
INSTALL_TARGETS
(
/lib test1 test2 test3 test4
)
INSTALL_TARGETS
(
/include lib1.h lib2.h lib3.h
)
SET_TARGET_PROPERTIES
(
SimpleInstall PROPERTIES OUTPUT_NAME SimpleInstallExe
)
SET_TARGET_PROPERTIES
(
SimpleInstall PROPERTIES VERSION 1.2
)
SET_TARGET_PROPERTIES
(
SimpleInstall PROPERTIES PRE_INSTALL_SCRIPT
${
CMAKE_CURRENT_SOURCE_DIR
}
/PreInstall.cmake
)
SET_TARGET_PROPERTIES
(
SimpleInstall PROPERTIES POST_INSTALL_SCRIPT
...
...
Tests/SimpleInstallS2/CMakeLists.txt
View file @
b0d05cf0
...
...
@@ -65,6 +65,8 @@ ELSE(STAGE2)
INSTALL_TARGETS
(
/lib test1 test2 test3 test4
)
INSTALL_TARGETS
(
/include lib1.h lib2.h lib3.h
)
SET_TARGET_PROPERTIES
(
SimpleInstall PROPERTIES OUTPUT_NAME SimpleInstallExe
)
SET_TARGET_PROPERTIES
(
SimpleInstall PROPERTIES VERSION 1.2
)
SET_TARGET_PROPERTIES
(
SimpleInstall PROPERTIES PRE_INSTALL_SCRIPT
${
CMAKE_CURRENT_SOURCE_DIR
}
/PreInstall.cmake
)
SET_TARGET_PROPERTIES
(
SimpleInstall PROPERTIES POST_INSTALL_SCRIPT
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment