Patch - added testing

This commit is contained in:
jbeder
2009-05-30 02:41:27 +00:00
parent f09e4497b6
commit f2ed49f720
2 changed files with 5 additions and 0 deletions

View File

@@ -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)

View File

@@ -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)