[CMake] Install files at absolute position?
Filipe Sousa
filipe at ipb.pt
Wed Jan 18 07:06:53 EST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Alexander Neundorf wrote:
>
> I didn't try, but maybe set CMAKE_INSTALL_PREFIX to "/" ?
> Or call a script in the post install hook, which does some additional
> installation ? (see SET_TARGET_PROPERTIES)
> There you could call a cmake script after installation which does e.g.
> CONFIGURE_FILE()
>
> Alex
>
>
Another way is using FILE(INSTALL but this is undocumented. You have to
take a look to see how it works
bool cmFileCommand::HandleInstallCommand(std::vector<std::string> const&
args)
or have a look at one of cmake_install.cmake
- --
Filipe Sousa
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
iD8DBQFDzi9dbQdNYqwwwCwRArPJAKC2qSlVFGX1putgwydj2OchZQLd7gCdFRYM
BSuQiSoocMPz0vJGJ1BLrhc=
=6dIr
-----END PGP SIGNATURE-----
More information about the CMake
mailing list