On Fri, Apr 9, 2010 at 2:08 AM, Michael Wild <them...@gmail.com> wrote:
> > On 8. Apr, 2010, at 16:40 , David Cole wrote: > [...] > > > > > > Why not use the COMPONENT feature of the various install command > signatures to separate your installables into components...? > > > > Then you can run: > > cd binary_dir > > cmake -D COMPONENT=MyComponent -P cmake_install.cmake > > and that will run just the install rules associated with the COMPONENT > MyComponent... > > > > You could even add a custom target named "install_my_component" to do > this via "make install_my_component" if you like... > > > > HTH, > > David > > > > It would be nice if CMake created component-wise install targets. E.g. it > would be very nice to have: > > make install-man > make install-bin > make install-shlibs > make install-dev > > While this is only syntactic sugar, it would be so much more intuitive than > running the cmake_install.cmake script with the appropriate arguments. Also, > AFAIK this isn't mentioned anywhere in the docs, only in the wiki. > > I agree wholeheartedly. Do you have time to prepare a patch that implements this feature? (Or at least to make a feature request in the bug tracker referencing this thread...?) :-)
_______________________________________________ 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