aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorRui Abreu Ferreira <raf-ep@gmx.com>2014-12-08 20:00:54 +0000
committerRui Abreu Ferreira <raf-ep@gmx.com>2016-01-10 17:06:53 +0000
commit72d03cc961796266b7b29a1e3afce94e9770c91b (patch)
treed8798cb31850b134c54dc287e3411457f4f33c0e /contrib
parent50db0312f941ba489466d7d6b21088f1870429ee (diff)
downloadrneovim-72d03cc961796266b7b29a1e3afce94e9770c91b.tar.gz
rneovim-72d03cc961796266b7b29a1e3afce94e9770c91b.tar.bz2
rneovim-72d03cc961796266b7b29a1e3afce94e9770c91b.zip
cmake: Pass -DMIN_LOG_LEVEL as compiler definition
- Check if MIN_LOG_LEVEL value is a number 0-3, default to INFO (1) or ignore it in Release mode - When TRAVIS_CI_BUILD is ON the default is DEBUG (0) - Add local.mk.example
Diffstat (limited to 'contrib')
-rw-r--r--contrib/local.mk.example5
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/local.mk.example b/contrib/local.mk.example
index 22aac4fda7..a0b2d034e1 100644
--- a/contrib/local.mk.example
+++ b/contrib/local.mk.example
@@ -31,6 +31,11 @@
#
# CMAKE_BUILD_TYPE := Debug
+# By default, nvim's log level is INFO (1) (unless CMAKE_BUILD_TYPE is
+# "Release", in which case logging is disabled).
+# The log level must be a number DEBUG (0), INFO (1), WARNING (2) or ERROR (3).
+# CMAKE_EXTRA_FLAGS += -DMIN_LOG_LEVEL=1
+
# By default, nvim uses bundled versions of its required third-party
# dependencies.
# Uncomment these entries to instead use system-wide installations of