summaryrefslogtreecommitdiff
path: root/cmake/CompileFlags.cmake
AgeCommit message (Collapse)Author
2021-04-07Fix: [CMake] Use the right run-time library depending on vcpkg triplet (#8964)Loïc Guilloux
2021-02-05Fix: [CMake] os/windows/openttd.manifest is not a generated fileglx22
2021-01-08Fix: Don't add -mno-sse4 on arm64Owen Rudge
2021-01-02Codechange: [OSX] Prevent the compiler from using SSE4 instructions unless ↵Michael Lutz
we want to. This improves compatibility on older systems. We don't need to disable anything older, as there are no SSE2-only Macs.
2020-09-25Codechange: Make codestyle for CMake files consistent for 'control' statementsCharles Pigott
2020-09-01Fix: Remove /MP flag and improve FindEditbin.cmake for Windows clang-cl buildlaikh
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.