cmake/cpack 2.8.8 on redhat6

I'm trying to generate multiple tar.bz2 files for diffeent componenents and
I'm having some problems...running "make package" yields a single tarball
with all files. Relevant parts of CMakeLists.txt are below. Also tried
setting CMAKE_MONOLITHIC_INSTALL 0  to no effect.

# sample install commands
install(TARGETS MainExe RUNTIME DESTINATION bin CONFIGURATIONS Debug
COMPONENT DebugSDK)
install(TARGETS MainExe RUNTIME DESTINATION bin CONFIGURATIONS
Release;RelWithDebInfo;MinSizeRel COMPONENT ReleaseSDK)
install(DIRECTORY ${App_SOURCE_DIR}/../Release/DefaultSettings DESTINATION
. COMPONENT SDK)

#...
# cpack config
set(CPACK_GENERATOR TBZ2)
set(CPACK_TBZ2_COMPONENT_INSTALL ON)
set(CPACK_COMPONENTS_ALL SDK DebugSDK ReleaseSDK)
include(CPack)

-- 
Trevor R.H. Clarke
Computer Science House
Rochester Institute of Technology
[email protected]
http://www.csh.rit.edu/~retrev/
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to