mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
Make it easier to change CMAKE_BUILD_TYPE in your local.mk.
This commit is contained in:
4
Makefile
4
Makefile
@@ -1,6 +1,8 @@
|
|||||||
-include local.mk
|
-include local.mk
|
||||||
|
|
||||||
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=Debug
|
CMAKE_BUILD_TYPE ?= Debug
|
||||||
|
|
||||||
|
CMAKE_FLAGS := -DCMAKE_BUILD_TYPE=$(CMAKE_BUILD_TYPE)
|
||||||
|
|
||||||
BUILD_TYPE ?= $(shell (type ninja > /dev/null 2>&1 && echo "Ninja") || \
|
BUILD_TYPE ?= $(shell (type ninja > /dev/null 2>&1 && echo "Ninja") || \
|
||||||
echo "Unix Makefiles")
|
echo "Unix Makefiles")
|
||||||
|
Reference in New Issue
Block a user