Re: [CMake] CPack/NSIS multiple component intall location

2013-04-23 Thread Romuald Delmont
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 manuall

Re: [CMake] CPack/NSIS multiple component intall location

2013-04-23 Thread Romuald Delmont
directory (as CPACK_PACKAGE_INSTALL_DIRECTORY does) by component to achieve this. I wish i can do this without breaking into NSIS.template.in<http://nsis.template.in/> . Thanks 2013/4/23 Eric Noulard > 2013/4/23 Romuald Delmont : > > Hi All > > > > I'm packagin

[CMake] CPack/NSIS multiple component intall location

2013-04-23 Thread Romuald Delmont
ta) 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 --