diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-06-29 09:29:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-29 09:29:40 +0200 |
commit | 42d892913daa215c27e41b2255e96c1ce09ea56c (patch) | |
tree | d93afcb08cb166cdc67615854e82f4b187a20ad0 /contrib | |
parent | f0dafa89c2b7602cfedf0bd3409858e4c212b0a2 (diff) | |
download | rneovim-42d892913daa215c27e41b2255e96c1ce09ea56c.tar.gz rneovim-42d892913daa215c27e41b2255e96c1ce09ea56c.tar.bz2 rneovim-42d892913daa215c27e41b2255e96c1ce09ea56c.zip |
cmake: Remove custom "Dev" build-type. (#6932)
The main purpose of this build-type was to avoid unwanted ~/.nvimlog
files (which could get really big, and also affects performance) for
non-devs. But that is no longer necessary since the log system now
avoids non-critical logging by default (#6827).
This essentially reverts 87e5a4131666e44354f280538cbc6bbe52225092
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/local.mk.example | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/contrib/local.mk.example b/contrib/local.mk.example index cadb9cf4b2..23fe11622b 100644 --- a/contrib/local.mk.example +++ b/contrib/local.mk.example @@ -13,26 +13,21 @@ # Sets the build type; defaults to Debug. Valid values: # -# - Debug: Disables optimizations (-O0), enables debug information and logging. +# - Debug: Disables optimizations (-O0), enables debug information. # -# - Dev: Enables all optimizations that do not interfere with -# debugging (-Og if available, -O2 and -g if not). -# Enables debug information and logging. -# -# - RelWithDebInfo: Enables optimizations (-O2) and debug information. -# Disables logging. +# - RelWithDebInfo: Enables optimizations (-Og or -O2) with debug information. # # - MinSizeRel: Enables all -O2 optimization that do not typically # increase code size, and performs further optimizations # designed to reduce code size (-Os). -# Disables debug information and logging. +# Disables debug information. # # - Release: Same as RelWithDebInfo, but disables debug information. # # CMAKE_BUILD_TYPE := Debug -# The default log level is 1 (INFO) (unless CMAKE_BUILD_TYPE is "Release"). # Log levels: 0 (DEBUG), 1 (INFO), 2 (WARNING), 3 (ERROR) +# Default is 1 (INFO) unless CMAKE_BUILD_TYPE is Release or RelWithDebInfo. # CMAKE_EXTRA_FLAGS += -DMIN_LOG_LEVEL=1 # By default, nvim uses bundled versions of its required third-party |