[CMake] INSTALL destination directories

Andreas Pakulat apaku at gmx.de
Wed Nov 14 17:49:12 EST 2007


On 14.11.07 22:24:04, Stephen Collyer wrote:
> Mike Jackson wrote:
> 
> > Relative to ${CMAKE_INSTALL_PREFIX}, which is set when you run ccmake or
> > CMakeSetup. The user can set this to what ever they want. It defaults to
> > /usr/local on Unix and C:\Program Files\Name of Project on Windows
> 
> Right. In that case, I think I misunderstood the use of INSTALL. Ihas
> thought that the install step was essentially a half-way house to
> packaging up the deliverables using CPack. It looks rather more like
> INSTALL generates the "make install" target, for installing locally
> after completion of a build.

CPack uses that installation-information to generate its packages
(AFAIK, never used it myself). So if you manage to write the needed
install-commands for anything you want in the packages, a simple run of
CPack should give you the package you want.

Andreas

-- 
If you stand on your head, you will get footprints in your hair.


More information about the CMake mailing list