diff options
author | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-07-30 15:26:31 +0200 |
---|---|---|
committer | Nikolai Kosjar <nikolai.kosjar@qt.io> | 2019-08-30 08:42:22 +0000 |
commit | 0ba729e527da37f7c5d7fbc59247971df3da7d8a (patch) | |
tree | f6397a18ab4a7850b656f7b6e7a68f3d8a4e49ae /src/shared | |
parent | d663b8e406c89585f123207d6e07832d1818e53b (diff) | |
download | qt-creator-0ba729e527da37f7c5d7fbc59247971df3da7d8a.tar.gz |
Import YAML-Parser yaml-cpp
Version: tags/yaml-cpp-0.6.2
License: MIT
yaml-cpp requires c++11 and since yaml-cpp 0.6 there is no dependency on
boost anymore.
A YAML parser is needed for the ClangTools plugin to parse exported
diagnostics from clang-tidy/clazy:
$ clang-tidy -export-fixes=/tmp/tidy.yaml source.cpp
The imported source is stripped of unneeded files as documented with
src/libs/3rdparty/yaml-cpp/patches/0001-yaml-cpp-Strip-unneeded-sources.patch
(generated with "git format-patch -D")
Change-Id: Ib0a521b5aff4b1cd058eb480bfb99fde4b320dc7
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/yaml-cpp/yaml-cpp_installation.pri | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/shared/yaml-cpp/yaml-cpp_installation.pri b/src/shared/yaml-cpp/yaml-cpp_installation.pri new file mode 100644 index 0000000000..acd9c9e080 --- /dev/null +++ b/src/shared/yaml-cpp/yaml-cpp_installation.pri @@ -0,0 +1,7 @@ +unix { + system(pkg-config yaml-cpp --atleast-version=0.5) { + EXTERNAL_YAML_CPP_FOUND = 1 + EXTERNAL_YAML_CPP_LIBS = $$system(pkg-config yaml-cpp --libs) + EXTERNAL_YAML_CPP_CXXFLAGS = $$system(pkg-config yaml-cpp --cflags) + } +} |