[CMake] CPack, Null Soft and Component

David Cole david.cole at kitware.com
Thu Apr 9 13:11:22 EDT 2009


This Wiki page tells you all about how to achieve that.....
http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack


HTH,
David


On Thu, Apr 9, 2009 at 12:09 PM, Jeremy Cowgar <jeremy at cowgar.com> wrote:

> I was hoping that the COMPONENT parameter to INSTALL would cause the Null
> Soft installer to have optional items that can be installed. For instance, I
> have in my CMakeLists.txt file:
>
> INSTALL( DIRECTORY source DESTINATION "./"
>  FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ
>  DIRECTORY_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ
> GROUP_EXECUTE
>     WORLD_READ WORLD_EXECUTE
>  COMPONENT "Source" )
>
>
> I was hoping that it would then allow the user to select or unselect the
> installation of the Source. The resulting installer does not seem to have a
> place to choose between components. Am I missing a flag somewhere?
>
> Jeremy
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20090409/41fc2fe7/attachment.htm>


More information about the CMake mailing list