-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
40 lines (35 loc) · 1001 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Date : Dec 21, 2015
# Authors : Roberto Metere
# Minimum version and project name
cmake_minimum_required (VERSION 2.6)
project("eo-psi")
# Sources
add_subdirectory (src)
# if (UNIX)
# install (
# TARGETS ${LIBRARY_NAME}
# DESTINATION "${CMAKE_LIBRARY_PATH}"
# )
#
# # Installing headers for developers
# install ( # main header (it should be enough to include)
# FILES "../src/lib${LIBRARY_NAME}.h"
# DESTINATION "${CMAKE_INCLUDE_PATH}"
# )
# install ( # the needed included files
# DIRECTORY "../src/"
# DESTINATION "${CMAKE_INCLUDE_PATH}/lib${LIBRARY_NAME}"
# FILES_MATCHING PATTERN "*.h"
# )
# endif (UNIX)
# Uninstall target
set (CMAKE_UNINSTALL "cmake_uninstall.cmake")
configure_file(
"${CMAKE_SOURCE_DIR}/${CMAKE_UNINSTALL}.in"
"${CMAKE_BINARY_DIR}/${CMAKE_UNINSTALL}"
IMMEDIATE @ONLY
)
add_custom_target (
uninstall
COMMAND ${CMAKE_COMMAND} -P ${CMAKE_BINARY_DIR}/cmake_uninstall.cmake
)