mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
f9826e1dff
Any logic involving CMAKE_BUILD_TYPE is automatically broken as it won't work with multi-config generators. The only exception is if we explicitly check whether the current generator is single-config as well. Instead, use generator expressions or cmake variables that allows to set options for certain build types only such as INTERPROCEDURAL_OPTIMIZATION_<CONFIG>. Opt to generate all headers with optimization level O2 with no debug information for all build types as that is the simplest way to make it behave the same for all generators. |
||
---|---|---|
.. | ||
iwyu | ||
CMakeLists.txt | ||
config.h.in | ||
pathdef.c.in | ||
versiondef-old.h.in | ||
versiondef.h.in |