cppcheck/cmake
Wolfgang Stöggl 8ac55a8534
Add find_package(tinyxml2) to CMake builds (#2691)
So far, the cmake files of Cppcheck needed to be patched in order to
use installed tinyxml2 instead of the bundled version of tinyxml2.
- Introduce the CMake option USE_BUNDLED_TINYXML2 with a default value
  of ON. This preserves the behavior as in the past and uses the
  bundled version under externals/tinyxml2 by default.
- Usage of the installed tinyxml2 version of a system can be enabled
  now using -DUSE_BUNDLED_TINYXML2=OFF as a cmake parameter.
- Some Linux distros do not install tinyxml2*.cmake files, which are
  required to find tinyxml2 using find_package().
  Try first using find_package(tinyxml2 QUIET) and if this fails, try
  again using find_library(tinyxml2_LIBRARY tinyxml2)
2020-11-22 08:57:07 +01:00
..
buildFiles.cmake Add CMake files 2015-02-13 19:00:14 +01:00
clang_tidy.cmake fixes for Clang and clang-tidy 10 (#2588) 2020-04-04 11:44:59 +02:00
cmake_uninstall.cmake.in Add CMake files 2015-02-13 19:00:14 +01:00
compilerDefinitions.cmake Updated cmake script so cppcheck.exe works in place during development (#2895) 2020-11-11 07:54:01 +01:00
compileroptions.cmake small compileroptions.cmake cleanup (#2817) 2020-09-21 19:41:28 +02:00
cxx11.cmake cleaned up setting of compiler options and a few more things in CMake (#2599) 2020-04-22 11:04:19 +02:00
dynamic_analyzer_options.cmake some sanitizer build fixes and cleanups (#2621) 2020-04-24 21:17:06 +02:00
findDependencies.cmake Add find_package(tinyxml2) to CMake builds (#2691) 2020-11-22 08:57:07 +01:00
options.cmake Add find_package(tinyxml2) to CMake builds (#2691) 2020-11-22 08:57:07 +01:00
printInfo.cmake Add find_package(tinyxml2) to CMake builds (#2691) 2020-11-22 08:57:07 +01:00
versions.cmake set version 2.2.99 2020-10-03 13:54:17 +02:00