[CMake] Component specific installation

Daniel Stonier d.stonier at gmail.com
Fri Jun 27 22:58:38 EDT 2008


The documentation talks about component specific installations (from
the docs...)

"The COMPONENT argument specifies an installation component name with
which the install rule is associated, such as "runtime" or
"development". During component-specific installation only install
rules associated with the given component name will be executed.
During a full installation all components are installed."

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.

Anyone else had experience with this?

Cheers.


More information about the CMake mailing list