Patch - added testing
This commit is contained in:
parent
f09e4497b6
commit
f2ed49f720
@ -1,6 +1,9 @@
|
||||
cmake_minimum_required(VERSION 2.6)
|
||||
|
||||
project (YAML_CPP)
|
||||
|
||||
enable_testing()
|
||||
|
||||
set(LIBRARY_OUTPUT_PATH lib${LIB_SUFFIX})
|
||||
set(LIB_INSTALL_DIR lib${LIB_SUFFIX})
|
||||
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})
|
||||
target_link_libraries(yaml-reader yaml-cpp)
|
||||
|
||||
add_test(yaml-reader-test yaml-reader)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user