aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorGregory Anders <8965202+gpanders@users.noreply.github.com>2024-02-16 11:56:52 -0600
committerGitHub <noreply@github.com>2024-02-16 11:56:52 -0600
commita75ef40f4cde43f680fe5f4f9cf9a657312251e9 (patch)
tree3fba27df0aa356e6f0fe642a0950866797f6f850 /Makefile
parentbd5008de07d29a6457ddc7fe13f9f85c9c4619d2 (diff)
downloadrneovim-a75ef40f4cde43f680fe5f4f9cf9a657312251e9.tar.gz
rneovim-a75ef40f4cde43f680fe5f4f9cf9a657312251e9.tar.bz2
rneovim-a75ef40f4cde43f680fe5f4f9cf9a657312251e9.zip
build: set deps default build type to Release (#27495)
Debugging dependencies is rare so a Debug build type is usually not needed. In cases where it _is_ needed it is easy to rebuild in Debug mode. But since Release builds are more common, it makes more sense as a default. For Neovim itself we stick with a Debug build as a default, since rebuilding and debugging is done _much_ more frequently than with dependencies (which we _mostly_ expect to "just work"). Also remove the CMAKE_BUILD_TYPE variable in the Makefile, since this is set by default in CMake.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 4d81d1434d..c44be8f8c7 100644
--- a/Makefile
+++ b/Makefile
@@ -10,7 +10,6 @@ filter-true = $(strip $(filter-out 1 on ON true TRUE,$1))
all: nvim
CMAKE ?= $(shell (command -v cmake3 || echo cmake))
-CMAKE_BUILD_TYPE ?= Debug
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE)
# Extra CMake flags which extend the default set
CMAKE_EXTRA_FLAGS ?=