mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
d10728a645
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 |
||
---|---|---|
.. | ||
cmake | ||
include | ||
lib | ||
tools |