]> andersk Git - libyaml.git/blobdiff - CMakeLists.txt
Update .gitignore with latest generated files
[libyaml.git] / CMakeLists.txt
index d30c5362dd089011ec973c883fd55c5646759c19..40db8824ecb25e63a91a19389464cc07df5a67c0 100644 (file)
@@ -5,7 +5,7 @@ project (yaml C)
 
 set (YAML_VERSION_MAJOR 0)
 set (YAML_VERSION_MINOR 1)
-set (YAML_VERSION_PATCH 4)
+set (YAML_VERSION_PATCH 7)
 set (YAML_VERSION_STRING "${YAML_VERSION_MAJOR}.${YAML_VERSION_MINOR}.${YAML_VERSION_PATCH}")
 
 file (GLOB SRC src/*.c)
@@ -14,3 +14,12 @@ include_directories (include win32)
 add_definitions (-DHAVE_CONFIG_H -DYAML_DECLARE_STATIC)
 add_library (yaml STATIC ${SRC})
 
+add_executable (test-version tests/test-version.c)
+target_link_libraries(test-version yaml)
+add_test(NAME version COMMAND test-version)
+
+add_executable (test-reader tests/test-reader.c)
+target_link_libraries(test-reader yaml)
+add_test(NAME reader COMMAND test-reader)
+
+enable_testing()
This page took 0.095421 seconds and 4 git commands to generate.