CMakeLists.txt 371 Bytes
Newer Older
1
2
cmake_minimum_required(VERSION 2.6)

3
project (YAML_CPP)
4
set(LIBRARY_OUTPUT_PATH ${YAML_CPP_SOURCE_DIR}/lib)
5

6
7
8
file(GLOB public_headers include/*.h)
file(GLOB private_headers src/*.h)
file(GLOB sources src/*.cpp)
9
10
11

include_directories(${YAML_CPP_SOURCE_DIR}/include)
add_library(yaml-cpp
12
13
14
	${public_headers}
	${private_headers}
	${sources}
15
16
)

17
add_subdirectory (yaml-reader)
18