[CMake] Custom install target
ycollette.nospam at free.fr
ycollette.nospam at free.fr
Thu Oct 6 02:23:55 EDT 2011
Hello,
I would like to create a custom install target: install-update
The things done by this target are:
- change CMAKE_INSTALL_PREFIX to a specific directory: CMAKE_BINARY_PREFIX/PROJECT_NAME-REVISION_NUMBER
- run "make install"
I don't know how to launch a defined target from within cmake. Is there any simple solution to do that ?
Best regards,
YC
More information about the CMake
mailing list