[CMake] CPack/NSIS multiple component intall location
Romuald Delmont
romualddelmont at gmail.com
Tue Apr 23 16:27:45 EDT 2013
Hi
I finally manage this by building 2 components: Data (obviously for
Data) and Unspecified for everything else.
Tell CPACK to not include Data component, using
SET(CPACK_INSTALL_CMAKE_PROJECTS
"${CMAKE_BINARY_DIR};${CMAKE_PROJECT_NAME};Unspecified;/")
And finally package Data component manually by changing some things in
NSIS.template.in
Not perfect but it does the job.
Thanks for your suggestions.
More information about the CMake
mailing list