[CMake] CMake install and CPack

KSpam keesling_spam at cox.net
Fri Nov 7 12:30:19 EST 2008


My project has hundreds of individual install components.  The various 
components are needed for my CPack scripts; however most (all but 1) 
components should not be installed as part of a normal "make install".  
Unfortunately, "make install" installs all of the components.

Ideally, I would like a way to specify a different set of components for CPack 
and CMake.  Any of the following would suit my particular needs:

1) set a variable to specify a single component to be used during "make 
install"
2) set a variable to a list of components to be used during "make install"
3) Ability to flag an "INSTALL" macro for use in CPack, CMake, or both

Is there a way to achieve any of the above solutions?

Thanks,
Justin


More information about the CMake mailing list