I also added a link to that wiki page on the main CMake Wiki page here:<div><br></div><div><a href="http://www.cmake.org/Wiki/CMake#Tutorials">http://www.cmake.org/Wiki/CMake#Tutorials</a><br><br></div><div><br></div><div>
<br><div class="gmail_quote">On Thu, Apr 9, 2009 at 1:11 PM, David Cole <span dir="ltr"><<a href="mailto:david.cole@kitware.com">david.cole@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
This Wiki page tells you all about how to achieve that.....<div><br></div><div><a href="http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack" target="_blank">http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack</a></div>
<div>
<br></div><div><br></div><div>HTH,</div><div>David</div><div><div></div><div class="h5"><div><br><br><div class="gmail_quote">On Thu, Apr 9, 2009 at 12:09 PM, Jeremy Cowgar <span dir="ltr"><<a href="mailto:jeremy@cowgar.com" target="_blank">jeremy@cowgar.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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:<br>
<br>
INSTALL( DIRECTORY source DESTINATION "./"<br>
FILE_PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ<br>
DIRECTORY_PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE<br>
WORLD_READ WORLD_EXECUTE<br>
COMPONENT "Source" )<br>
<br>
<br>
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?<br>
<br>
Jeremy<br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>