Moved old api tests to subfolder

This commit is contained in:
Jesse Beder
2011-09-10 18:02:07 -05:00
parent 0d1b5224c8
commit 36c63980b9
4 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
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)
if(YAML_CPP_BUILD_OLD_API)
list(APPEND test_sources ${test_old_api_sources})
endif()
add_executable(run-tests
${test_sources}