diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-28 13:23:40 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2006-02-28 13:23:40 (GMT) |
commit | 36d7f3990aa1341ffa7782bea6e3b3233a3581ff (patch) | |
tree | d5d304ae64852ed6790eedf05f38cceede60d93c /Tests/SimpleInstall | |
parent | 456c823ec010ce379cdc85ace65fe1ddbeea3236 (diff) | |
download | CMake-36d7f3990aa1341ffa7782bea6e3b3233a3581ff.zip CMake-36d7f3990aa1341ffa7782bea6e3b3233a3581ff.tar.gz CMake-36d7f3990aa1341ffa7782bea6e3b3233a3581ff.tar.bz2 |
ENH: Add support for multiple build targets and start adding simple cpack tests
Diffstat (limited to 'Tests/SimpleInstall')
-rw-r--r-- | Tests/SimpleInstall/CMakeLists.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Tests/SimpleInstall/CMakeLists.txt b/Tests/SimpleInstall/CMakeLists.txt index c712978..b4787c8 100644 --- a/Tests/SimpleInstall/CMakeLists.txt +++ b/Tests/SimpleInstall/CMakeLists.txt @@ -120,6 +120,14 @@ ELSE(CMAKE_CONFIGURATION_TYPES) SET(SI_CONFIG) ENDIF(CMAKE_CONFIGURATION_TYPES) +# Dummy test of CPack +SET(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Test of packaging with cpack") +SET(CPACK_PACKAGE_VENDOR "Kitware") +SET(CPACK_PACKAGE_DESCRIPTION_FILE "${CMAKE_CURRENT_SOURCE_DIR}/foo.h") + +SET(CPACK_PACKAGE_EXECUTABLES "SimpleInstall" "Simple Install") +INCLUDE(CPack) + ADD_CUSTOM_COMMAND( TARGET ${install_target} POST_BUILD @@ -133,5 +141,6 @@ ADD_CUSTOM_COMMAND( --build-makeprogram ${CMAKE_MAKE_PROGRAM} --build-noclean --build-target install + --build-target package COMMENT "Install Project" ) |