I have a project with install commands like so:
INSTALL(TARGETS foo
RUNTIME DESTINATION bin COMPONENT Runtime
LIBRARY DESTINATION bin COMPONENT Runtime
ARCHIVE DESTINATION bin COMPONENT Development)
INSTALL(FILES ${foo_HDRS}
DESTINATION include COMPONENT Development)
And I want to create a .tgz or .zip file with a subset of the available
components (in my case, Runtime and Help). I've set CPACK_COMPONENTS_ALL to a
list of components I want before the include(CPack), but it is being ignored.
With generators that support components, I can list a subset of components to
install. But it seems with non-component based cpack generators I can't list
a subset of components.
Any way to get what I want? I looked at the CPACK_INSTALL_CMAKE_PROJECTS
variable, but its a list of 4 items, and I don't see how I can fit in a list in
the 3rd position of that list.
Thanks,
Clint
_______________________________________________
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