This module provides extensions to the functionality of CMake. Consult the beginning of the corresponding source files for detailed usage/documentation.
mkdir build cd build cmake .. -DCMAKE_INSTAL_PREFIX="path/to/install/location" make install
Use 'softinstall' to create symlinks instead of copies.
If this path is not yet in the CMake module path, add to CMakeLists.txt of your project:
list(APPEND CMAKE_MODULE_PATH /path/to/cmakescripts)
And then include the desired script (e.g. softinstall) with:
include(fsc/softinstall)
For a great collection of CMake extensions, feel free to visit: https://github.com/toeb/cmakepp