diff options
author | Rui Abreu Ferreira <raf-ep@gmx.com> | 2014-12-08 20:00:54 +0000 |
---|---|---|
committer | Rui Abreu Ferreira <raf-ep@gmx.com> | 2016-01-10 17:06:53 +0000 |
commit | 72d03cc961796266b7b29a1e3afce94e9770c91b (patch) | |
tree | d8798cb31850b134c54dc287e3411457f4f33c0e /contrib | |
parent | 50db0312f941ba489466d7d6b21088f1870429ee (diff) | |
download | rneovim-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.example | 5 |
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 |