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
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
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
--