aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Findyaml-cpp.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CMake build: Fix configuring with CMake 3.10 and external yaml-cppEike Ziller2020-07-171-1/+1
| | | | | | | | | | | CMake 3.10 does not allow using target_include_directories with INTERFACE on imported targets. https://gitlab.kitware.com/cmake/cmake/-/issues/15689 Fixes: QTCREATORBUG-24356 Change-Id: I2427276f0851010cda2321c45eff0628713af2ff Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake Build: Fix yaml-cpp include directory detectionCristian Adam2020-02-261-0/+5
| | | | | | | | On Ubuntu 19.10 the libyaml-cpp-dev CMake config module has a broken value for YAML_CPP_INCLUDE_DIR. Change-Id: I5097ef656b988dda0326a15b521b92cbbdb0a390 Reviewed-by: Cristian Adam <cristian.adam@qt.io>
* CMake Build: Fix include directory for external yaml-cppCristian Adam2019-09-111-1/+2
| | | | | | | | | | | On Linux one gets: /usr/lib/x86_64-linux-gnu/cmake/yaml-cpp/../../../../include which fails to compile. Resolve the path so CMake can detect/remove the duplicate to fix this. Change-Id: I4987c8edd99e60d31beb2d5075a949090996bc3a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* ClangTools/cmake build: Fix build against external yaml-cppEike Ziller2019-09-101-2/+4
| | | | | | | | For some reason that doesn't set INTERFACE include directories, so do it manually. Change-Id: I3451252ff8c0651dc1dd13c8ffa7c0e3c952e732 Reviewed-by: Nikolai Kosjar <nikolai.kosjar@qt.io>
* ClangTools: Support loading exported diagnosticsNikolai Kosjar2019-09-031-0/+1
| | | | | | | | | | Add a new toolbar button to load diagnostics exported with $ clang-tidy -export-fixes=/path/to/file $ clazy-standalone -export-fixes=/path/to/file (master version) Change-Id: I8316fe0706a18222e68220ef4fbfdc7ae8d09804 Reviewed-by: David Schulz <david.schulz@qt.io>
* Import YAML-Parser yaml-cppNikolai Kosjar2019-08-301-0/+109
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>