[CMake] CPack/NSIS multiple component intall location

Romuald Delmont romualddelmont at gmail.com
Tue Apr 23 10:44:04 EDT 2013


Hi All

I'm packaging an application with CMake/Cpack/NSIS and it's going pretty
well except for one point.

I have a core component with executables and a data component. Both are
built by CMake and have an INSTALL command.
Install target gives me 2 directories (Apps and Data) in the
CMAKE_INSTALL_PREFIX directory which is fine.

With CPack/Nsis, I try to install them in 2 different locations like
ProgramFiles for Core and ProgramData for Data, but I cannot find a way to
do this.

Is there a way to specify an install destination by component?

Thanks
-- 
Romuald Delmont
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20130423/195a46f5/attachment.htm>


More information about the CMake mailing list