Files
yaml-cpp/test/CMakeLists.txt
T

16 lines
362 B
CMake
Raw Normal View History

2009-10-27 14:38:53 +00:00
file(GLOB test_headers [a-z]*.h)
file(GLOB test_sources [a-z]*.cpp)
2011-09-10 18:02:07 -05:00
file(GLOB test_old_api_sources old-api/[a-z]*.cpp)
2012-01-20 23:50:39 -06:00
list(APPEND test_sources ${test_old_api_sources})
2009-10-27 14:38:53 +00:00
include_directories(${YAML_CPP_SOURCE_DIR}/test)
2009-10-27 14:38:53 +00:00
add_executable(run-tests
${test_sources}
${test_headers}
)
target_link_libraries(run-tests yaml-cpp)
add_test(yaml-reader-test run-tests)