cppcheck/cmake
Rainer Wiesenfarth f4f58bf020
Fix #11081 GUI: Windows release build crashes (#5083)
* Fix #11081 GUI: Windows release build crashes

Use generator expressions rather than if statements when adding compiler
options or definitions.

* Fix #11081 GUI: Windows CMake debug build fails with default options

When DISABLE_CRTDBG_MAP_ALLOC is using the default value (OFF), the
debug build of cppcheck-gui fails, as the "realloc" method names in some
of the Qt headers are replaced by the macro defined by the compiler.
Thus DISABLE_CRTDBG_MAP_ALLOC is explicitely set when compiling
cppcheck-gui in Debug mode using MSVC.
2023-06-07 11:33:55 +02:00
..
buildFiles.cmake Add CMake files 2015-02-13 19:00:14 +01:00
ccache.cmake Update version check in ccache.cmake so ccache can work on older cmake versions (#4567) 2022-11-14 12:11:31 +01:00
clang_tidy.cmake updated CI to Clang 16 (#4641) 2023-02-15 19:46:13 +01:00
cmake_uninstall.cmake.in Add CMake files 2015-02-13 19:00:14 +01:00
compilerCheck.cmake replaced `if(MATCHES)` with `if(STREQUAL)` (#4263) 2022-07-11 10:46:18 +02:00
compilerDefinitions.cmake Fix #11081 GUI: Windows release build crashes (#5083) 2023-06-07 11:33:55 +02:00
compileroptions.cmake Fix #11081 GUI: Windows release build crashes (#5083) 2023-06-07 11:33:55 +02:00
cxx11.cmake use C++17 when building with Visual Studio in CMake - fixes GUI CI builds (#4924) 2023-03-31 10:37:53 +02:00
dynamic_analyzer_options.cmake use CMake for sanitizer builds / some CMake command cleanups (#4147) 2022-06-03 21:33:56 +02:00
findDependencies.cmake GUI: Detect when version is old 2022-10-09 18:51:01 +02:00
options.cmake use `ccache` for sanitizer builds / do not use precompiled headers with `ccache` (#4910) 2023-04-01 09:40:10 +02:00
printInfo.cmake use `ccache` for sanitizer builds / do not use precompiled headers with `ccache` (#4910) 2023-04-01 09:40:10 +02:00
qtCompat.cmake GUI: Detect when version is old 2022-10-09 18:51:01 +02:00
versions.cmake Adjust version 2.11.99 => 2.10.99 (#4851) 2023-03-04 17:19:31 +01:00