mirror of
https://github.com/reactos/reactos.git
synced 2025-05-22 02:25:18 +00:00
![]() Having conditional statements with CMAKE_BUILD_TYPE is an antipattern See https://stackoverflow.com/questions/66079007/having-conditional-statements-on-build-type-variable-a-good-design We use both single- and multi-config generators (Ninja and VS), so we can't really rely on CMAKE_BUILD_TYPE, because it's not always set. This commit alters some conditional flags to use <$CONFIG:...> generator expression, but is still not complete. Also, our default optimization level (4) now has what was always a de-facto flags |
||
---|---|---|
.. | ||
baseaddress.cmake | ||
baseaddress_dwarf.cmake | ||
baseaddress_msvc.cmake | ||
baseaddress_msvc_x64.cmake | ||
CMakeMacros.cmake | ||
compilerflags.cmake | ||
config.cmake | ||
gcc.cmake | ||
host-tools.cmake | ||
host-tools.in | ||
init-section.lds | ||
localization.cmake | ||
midl-support.cmake | ||
msvc.cmake | ||
widl-support.cmake | ||
writing_CmakeLists_for_ReactOS.txt |