I don&#39;t have time to help very much right now, but I can point you to this variable:<br>CPACK_INSTALL_CMAKE_PROJECTS<br><br>grep the CMake source code and read the comments surrounding use of that variable, and see the ParaView3 source tree for one example of its use.
<br><br>It&#39;s a list of quadruplets that helps you install separate bits with various components all at once.<br><br>HTH,<br>David<br><br><br><div><span class="gmail_quote">On 1/17/08, <b class="gmail_sendername">Alexander Neundorf
</b> &lt;<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Thursday 17 January 2008, Eric Noulard wrote:<br>&gt; 2008/1/16, Filipe Sousa &lt;<a href="mailto:natros@gmail.com">natros@gmail.com</a>&gt;:<br>&gt; &gt; Ted Berg wrote:<br>&gt; &gt; &gt; Filipe Sousa wrote:<br>&gt; &gt; &gt;
<br>&gt; &gt; &gt; I aplogize, my initial post wasn&#39;t terribly clear.&nbsp;&nbsp;I&#39;m currently<br>&gt; &gt; &gt; generating, for example, the following packages:<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; foo-sdk-1.0.0.zip<br>&gt; &gt; &gt; 
foo-qa-tools-1.0.0.zip<br>&gt; &gt; &gt; foo-killer-app-1.0.0.zip<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; These packages have different content and are targeted at different<br>&gt; &gt; &gt; users.&nbsp;&nbsp;I initially thought I could duplicate this behavior using
<br>&gt; &gt; &gt; COMPONENTs in CMake&#39;s install command, but it&#39;s not behaving how I<br>&gt; &gt; &gt; would like and I&#39;m pretty sure that what I want is abusing the feature<br>&gt; &gt; &gt; (at best).<br>&gt;
<br>&gt; I am really interested in how you did emulate the feature using<br>&gt; INSTALL / COMPONENT.<br><br>Yes, the COMPONENT argument has the purpose to be able to<br>create &quot;subpackages&quot;, like foo-dev.tar.gz
 etc.<br><br>Instead of &quot;make install&quot; you can call cmake -P cmake_install.cmake, which<br>will do the same, or cmake -DCOMPONENT=Devel -P cmake_install.cmake to<br>install only that component.<br>But I am not quite sure how this currently integrates with cpack.
<br><br>Bye<br>Alex<br>_______________________________________________<br>CMake mailing list<br><a href="mailto:CMake@cmake.org">CMake@cmake.org</a><br><a href="http://www.cmake.org/mailman/listinfo/cmake">http://www.cmake.org/mailman/listinfo/cmake
</a><br></blockquote></div><br>