aboutsummaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorFlorian Walch <florian@fwalch.com>2015-09-28 12:14:38 +0200
committerFlorian Walch <florian@fwalch.com>2015-11-01 15:41:36 +0100
commit87e5a4131666e44354f280538cbc6bbe52225092 (patch)
treef8138925b61e40ad277ae2f662d6d5ad7c4b025d /contrib
parent2e4baa9ae475e1ea01c5e15a440933b4814f0637 (diff)
downloadrneovim-87e5a4131666e44354f280538cbc6bbe52225092.tar.gz
rneovim-87e5a4131666e44354f280538cbc6bbe52225092.tar.bz2
rneovim-87e5a4131666e44354f280538cbc6bbe52225092.zip
CMake: Add custom Dev build type.
Introduce new build type Dev that replaces RelWithDebInfo for development builds off master and has optimizations, debug info, and logging enabled. Keep assertions enabled for RelWithDebInfo.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/local.mk.example11
1 files changed, 7 insertions, 4 deletions
diff --git a/contrib/local.mk.example b/contrib/local.mk.example
index 4e7b01a39f..22aac4fda7 100644
--- a/contrib/local.mk.example
+++ b/contrib/local.mk.example
@@ -13,16 +13,19 @@
# Sets the build type; defaults to Debug. Valid values:
#
-# - Debug: Disables optimizations (-O0), enables debug information.
+# - Debug: Disables optimizations (-O0), enables debug information and logging.
#
-# - RelWithDebInfo: Enables all optimizations that do not interfere with
+# - Dev: Enables all optimizations that do not interfere with
# debugging (-Og if available, -O2 and -g if not).
-# Enables debug information.
+# Enables debug information and logging.
+#
+# - RelWithDebInfo: Enables optimizations (-O2) and debug information.
+# Disables logging.
#
# - 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.
+# Disables debug information and logging.
#
# - Release: Same as RelWithDebInfo, but disables debug information.
#