Renamed yaml-reader test
This commit is contained in:
parent
47628bf25e
commit
7d5988401e
@ -67,6 +67,6 @@ if(UNIX)
|
||||
endif(UNIX)
|
||||
|
||||
if(YAML_CPP_BUILD_TOOLS)
|
||||
add_subdirectory (yaml-reader)
|
||||
add_subdirectory (test)
|
||||
add_subdirectory (util)
|
||||
endif(YAML_CPP_BUILD_TOOLS)
|
||||
|
||||
10
test/CMakeLists.txt
Normal file
10
test/CMakeLists.txt
Normal file
@ -0,0 +1,10 @@
|
||||
file(GLOB test_headers [a-z]*.h)
|
||||
file(GLOB test_sources [a-z]*.cpp)
|
||||
|
||||
add_executable(run-tests
|
||||
${test_sources}
|
||||
${test_headers}
|
||||
)
|
||||
target_link_libraries(run-tests yaml-cpp)
|
||||
|
||||
add_test(yaml-reader-test run-tests)
|
||||
@ -1,10 +0,0 @@
|
||||
file(GLOB yaml-reader_headers [a-z]*.h)
|
||||
file(GLOB yaml-reader_sources [a-z]*.cpp)
|
||||
|
||||
add_executable(yaml-reader
|
||||
${yaml-reader_sources}
|
||||
${yaml-reader_headers}
|
||||
)
|
||||
target_link_libraries(yaml-reader yaml-cpp)
|
||||
|
||||
add_test(yaml-reader-test yaml-reader)
|
||||
@ -1,4 +0,0 @@
|
||||
--- &list
|
||||
- This document contains a recursive list.
|
||||
- *list
|
||||
...
|
||||
Loading…
Reference in New Issue
Block a user