"example/vscode:/vscode.git/clone" did not exist on "564c720f7d02c244b91538b7b14d3bcdb7e65f8f"
Commit cffb98d1 authored by Jesse Beder's avatar Jesse Beder
Browse files

Patched for optional building of tests and tools

parent 3e1ba0f3
...@@ -20,6 +20,8 @@ set(YAML_CPP_VERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}.${YAML ...@@ -20,6 +20,8 @@ set(YAML_CPP_VERSION "${YAML_CPP_VERSION_MAJOR}.${YAML_CPP_VERSION_MINOR}.${YAML
enable_testing() enable_testing()
option(YAML_CPP_BUILD_TOOLS "Enables or disables yaml-reader and parse tools" true)
if(WIN32) if(WIN32)
set(_library_dir bin) # .dll are in PATH, like executables set(_library_dir bin) # .dll are in PATH, like executables
else(WIN32) else(WIN32)
...@@ -64,5 +66,7 @@ if(UNIX) ...@@ -64,5 +66,7 @@ if(UNIX)
install(FILES ${PC_FILE} DESTINATION ${LIB_INSTALL_DIR}/pkgconfig) install(FILES ${PC_FILE} DESTINATION ${LIB_INSTALL_DIR}/pkgconfig)
endif(UNIX) endif(UNIX)
add_subdirectory (yaml-reader) if(YAML_CPP_BUILD_TOOLS)
add_subdirectory (util) add_subdirectory (yaml-reader)
add_subdirectory (util)
endif(YAML_CPP_BUILD_TOOLS)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment