This file looks large and may slow your browser down if we attempt
to syntax highlight it, so we are showing it without any
pretty colors.
Highlight
it anyway.
| 1 |
cmake_minimum_required(VERSION 2.6) |
| 2 |
|
| 3 |
project(FSter) |
| 4 |
set (V_MAJOR 0) |
| 5 |
set (V_MINOR 1) |
| 6 |
set (V_REVISION 2) |
| 7 |
|
| 8 |
add_subdirectory(src) |
| 9 |
add_subdirectory(content-plugins) |
| 10 |
|
| 11 |
CONFIGURE_FILE( |
| 12 |
"${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in" |
| 13 |
"${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake" |
| 14 |
IMMEDIATE @ONLY) |
| 15 |
|
| 16 |
ADD_CUSTOM_TARGET(uninstall |
| 17 |
"${CMAKE_COMMAND}" -P "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake") |
| 18 |
|
| 19 |
IF (NOT CMAKE_INSTALL_PREFIX) |
| 20 |
SET(CMAKE_INSTALL_PREFIX "/usr/local/") |
| 21 |
ENDIF (NOT CMAKE_INSTALL_PREFIX) |
| 22 |
|
| 23 |
INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}/etc/fster)") |
| 24 |
INSTALL(CODE "FILE(MAKE_DIRECTORY \$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/lib/fster/plugins)") |