I don'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'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> <<a href="mailto:a.neundorf-work@gmx.net">a.neundorf-work@gmx.net</a>> 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>> 2008/1/16, Filipe Sousa <<a href="mailto:natros@gmail.com">natros@gmail.com</a>>:<br>> > Ted Berg wrote:<br>> > > Filipe Sousa wrote:<br>> > >
<br>> > > I aplogize, my initial post wasn't terribly clear. I'm currently<br>> > > generating, for example, the following packages:<br>> > ><br>> > > foo-sdk-1.0.0.zip<br>> > >
foo-qa-tools-1.0.0.zip<br>> > > foo-killer-app-1.0.0.zip<br>> > ><br>> > > These packages have different content and are targeted at different<br>> > > users. I initially thought I could duplicate this behavior using
<br>> > > COMPONENTs in CMake's install command, but it's not behaving how I<br>> > > would like and I'm pretty sure that what I want is abusing the feature<br>> > > (at best).<br>>
<br>> I am really interested in how you did emulate the feature using<br>> INSTALL / COMPONENT.<br><br>Yes, the COMPONENT argument has the purpose to be able to<br>create "subpackages", like foo-dev.tar.gz
etc.<br><br>Instead of "make install" 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>