-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
32 lines (27 loc) · 1017 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
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
PROJECT(json_spirit)
SUBDIRS(json_spirit json_demo json_headers_only_demo json_map_demo json_test)
INCLUDE_DIRECTORIES(json_spirit)
SET(
CPACK_SOURCE_IGNORE_FILES
${CMAKE_SOURCE_DIR}/build
${CMAKE_SOURCE_DIR}/debian
${CMAKE_SOURCE_DIR}/.git)
INSTALL(
FILES
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_error_position.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_reader.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_reader_template.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_stream_reader.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_utils.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_value.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_writer.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_writer_template.h
${CMAKE_SOURCE_DIR}/json_spirit/json_spirit_writer_options.h
DESTINATION include)
INSTALL(
FILES
${CMAKE_BINARY_DIR}/json_spirit/libjson_spirit.so
DESTINATION lib)
INCLUDE(CPack)