aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/highlight.lua
diff options
context:
space:
mode:
authordundargoc <33953936+dundargoc@users.noreply.github.com>2023-02-03 00:00:15 +0100
committerGitHub <noreply@github.com>2023-02-03 00:00:15 +0100
commitf9826e1dff5f1ac8212ca55a847c872c426142db (patch)
treeaac7c81f6c1848d7c1edb7a31e263e4db391c0ce /runtime/lua/vim/highlight.lua
parentebd2372f928c6f1cfe823d36aabf479f6930232f (diff)
downloadrneovim-f9826e1dff5f1ac8212ca55a847c872c426142db.tar.gz
rneovim-f9826e1dff5f1ac8212ca55a847c872c426142db.tar.bz2
rneovim-f9826e1dff5f1ac8212ca55a847c872c426142db.zip
build: stop relying on CMAKE_BUILD_TYPE to determine the build type (#22051)
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.
Diffstat (limited to 'runtime/lua/vim/highlight.lua')
0 files changed, 0 insertions, 0 deletions