summaryrefslogtreecommitdiff
path: root/cmake/CompileFlags.cmake
AgeCommit message (Collapse)Author
2020-07-05Fix: [CMake] Re-enable multi-threaded compilation for MSVC project files.Michael Lutz
2020-06-30Fix: use proper flags for suppressing warnings in ClangDan Villiom Podlaski Christiansen
2020-06-30Add: add option for forcing coloured compiler output (useful for Ninja)Dan Villiom Podlaski Christiansen
2020-06-28Fix 887b912af: MinGW requires an extra link flag with _FORTIFY_SOURCE (#8246)glx22
see #7860
2020-06-27Codechange: Only apply FORTIFY_SOURCE in non-debug buildsCharles Pigott
It requires -O1 (or greater) and GCC spews out warnings if you try using it with -O0
2020-06-05Add: introduce CMake for project managementPatric Stout
CMake works on all our supported platforms, like MSVC, Mingw, GCC, Clang, and many more. It allows for a single way of doing things, so no longer we need shell scripts and vbs scripts to work on all our supported platforms. Additionally, CMake allows to generate project files for like MSVC, KDevelop, etc. This heavily reduces the lines of code we need to support multiple platforms from a project perspective. Addtiionally, this heavily improves our detection of libraries, etc.