summaryrefslogtreecommitdiffstats
path: root/yaml-cpp/test/CMakeLists.txt
blob: 241c19ef8abdca5869ecf1bb1a80c80bd370b652 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
file(GLOB test_headers [a-z]*.h)
file(GLOB test_sources [a-z]*.cpp)
file(GLOB test_old_api_sources old-api/[a-z]*.cpp)

list(APPEND test_sources ${test_old_api_sources})

include_directories(${YAML_CPP_SOURCE_DIR}/test)

add_executable(run-tests
	${test_sources}
	${test_headers}
)
target_link_libraries(run-tests yaml-cpp)

add_test(yaml-reader-test run-tests)