This is a fork of the yaml-cpp project with modest edits for bundling in an existing CMake project.
At the time of fork, yaml-cpp
was version 0.5.1.
I wanted to be able to bundle yaml-cpp
like so:
-
Clone it as a subdirectory.
-
In CMakeLists.txt, add the subdirectory. Then, I should be able to:
include_directories(${yaml-cpp_INCLUDE_DIRS}) ... target_link_libraries(my_app yaml-cpp)
-
Use
yaml-cpp
at your will. See the project site for detailed documentation.