mirror of
https://github.com/jbeder/yaml-cpp.git
synced 2025-09-09 12:41:17 +00:00
Patch - added testing
This commit is contained in:
@@ -1,6 +1,9 @@
|
|||||||
cmake_minimum_required(VERSION 2.6)
|
cmake_minimum_required(VERSION 2.6)
|
||||||
|
|
||||||
project (YAML_CPP)
|
project (YAML_CPP)
|
||||||
|
|
||||||
|
enable_testing()
|
||||||
|
|
||||||
set(LIBRARY_OUTPUT_PATH lib${LIB_SUFFIX})
|
set(LIBRARY_OUTPUT_PATH lib${LIB_SUFFIX})
|
||||||
set(LIB_INSTALL_DIR lib${LIB_SUFFIX})
|
set(LIB_INSTALL_DIR lib${LIB_SUFFIX})
|
||||||
set(INCLUDE_INSTALL_DIR include/yaml-cpp)
|
set(INCLUDE_INSTALL_DIR include/yaml-cpp)
|
||||||
|
@@ -2,3 +2,5 @@ set(yaml-reader_sources main.cpp tests.cpp)
|
|||||||
|
|
||||||
add_executable(yaml-reader ${yaml-reader_sources})
|
add_executable(yaml-reader ${yaml-reader_sources})
|
||||||
target_link_libraries(yaml-reader yaml-cpp)
|
target_link_libraries(yaml-reader yaml-cpp)
|
||||||
|
|
||||||
|
add_test(yaml-reader-test yaml-reader)
|
||||||
|
Reference in New Issue
Block a user