On Mon, Jun 30, 2008 at 11:50 AM, Shead, Timothy <[EMAIL PROTECTED]> wrote: > On 6/27/08 8:58 PM, "Daniel Stonier" <[EMAIL PROTECTED]> wrote: > >> How do you actually trigger component specific installations though? >> I've currently got a 'headers' component. On a normal cmake with unix >> makefiles, there's a makefile target for >> >> make list_all_components >> >> but no way of actually installing the components. The install still >> installs everything. > > The "make install" and "make package" targets are there to handle the most > common scenario, which is "install everything". If you want to control > components or build-type, you have to call cmake/cpack yourself, with the > correct command-line arguments.
There is some new support in CMake CVS for component-specific installations in the Windows (NSIS) and Mac OS X (PackageMaker) installers generated by CPack. See http://www.cmake.org/Wiki/CMake:Component_Install_With_CPack for more information. - Doug _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake