From c1790df562903bd14bd75602941ad594139196c6 Mon Sep 17 00:00:00 2001 From: Rick Altherr Date: Wed, 13 Dec 2017 12:30:30 -0800 Subject: [PATCH] Import github.com/jbeder/yaml-cpp Signed-off-by: Rick Altherr Signed-off-by: Tim 'mithro' Ansell --- .gitmodules | 3 +++ CMakeLists.txt | 6 ++++++ third_party/yaml-cpp | 1 + 3 files changed, 10 insertions(+) create mode 160000 third_party/yaml-cpp diff --git a/.gitmodules b/.gitmodules index 85d2c462..96944e6e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -10,3 +10,6 @@ [submodule "third_party/gflags"] path = third_party/gflags url = https://github.com/gflags/gflags +[submodule "third_party/yaml-cpp"] + path = third_party/yaml-cpp + url = https://github.com/jbeder/yaml-cpp.git diff --git a/CMakeLists.txt b/CMakeLists.txt index 0d59d4bd..fe8e0ee2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -22,5 +22,11 @@ add_subdirectory(third_party/gflags EXCLUDE_FROM_ALL) add_subdirectory(third_party/cctz EXCLUDE_FROM_ALL) add_subdirectory(third_party/abseil-cpp EXCLUDE_FROM_ALL) +option(YAML_CPP_BUILD_TESTS "" OFF) +add_subdirectory(third_party/yaml-cpp EXCLUDE_FROM_ALL) +target_include_directories(yaml-cpp PUBLIC + $ + ) + add_subdirectory(lib) add_subdirectory(tools) diff --git a/third_party/yaml-cpp b/third_party/yaml-cpp new file mode 160000 index 00000000..86ae3a5a --- /dev/null +++ b/third_party/yaml-cpp @@ -0,0 +1 @@ +Subproject commit 86ae3a5aa7e2109d849b2df89176d6432a35265d