2015-03-07 17:49:16 -07:00
|
|
|
# Copy this to 'local.mk' in the repository root to take effect.
|
|
|
|
# Individual entries must be uncommented to take effect.
|
|
|
|
|
|
|
|
# By default, the installation prefix is '/usr/local'.
|
|
|
|
# CMAKE_EXTRA_FLAGS += -DCMAKE_INSTALL_PREFIX=/usr/local/neovim-latest
|
|
|
|
|
2015-04-14 15:29:26 -07:00
|
|
|
# These CFLAGS can be used in addition to those specified in CMakeLists.txt:
|
|
|
|
# CMAKE_EXTRA_FLAGS="-DCMAKE_C_FLAGS=-ftrapv -Wlogical-op"
|
|
|
|
|
|
|
|
# By default, the jemalloc family of memory allocation functions are used.
|
|
|
|
# Uncomment the following to instead use libc memory allocation functions:
|
|
|
|
# CMAKE_EXTRA_FLAGS="-DUSE_JEMALLOC=OFF"
|
|
|
|
|
2015-03-07 17:49:16 -07:00
|
|
|
# Sets the build type; defaults to Debug. Valid values:
|
|
|
|
#
|
|
|
|
# - Debug: Disables optimizations (-O0), enables debug information.
|
|
|
|
#
|
2015-04-14 15:29:26 -07:00
|
|
|
# - RelWithDebInfo: Enables all optimizations that do not interfere with
|
|
|
|
# debugging (-Og if available, -O2 and -g if not).
|
|
|
|
# Enables debug information.
|
2015-03-07 17:49:16 -07:00
|
|
|
#
|
|
|
|
# - MinSizeRel: Enables all -O2 optimization that do not typically
|
|
|
|
# increase code size, and performs further optimizations
|
2015-04-14 15:29:26 -07:00
|
|
|
# designed to reduce code size (-Os).
|
|
|
|
# Disables debug information.
|
2015-03-07 17:49:16 -07:00
|
|
|
#
|
|
|
|
# - Release: Same as RelWithDebInfo, but disables debug information.
|
|
|
|
#
|
|
|
|
# CMAKE_BUILD_TYPE := Debug
|
|
|
|
|
|
|
|
# By default, all libraries are statically linked to nvim. Uncomment these
|
|
|
|
# entries to use dynamic linking instead.
|
|
|
|
#
|
|
|
|
# CMAKE_EXTRA_FLAGS += -DLIBTERMKEY_USE_STATIC=OFF
|
|
|
|
# CMAKE_EXTRA_FLAGS += -DLIBUNIBILIUM_USE_STATIC=OFF
|
|
|
|
# CMAKE_EXTRA_FLAGS += -DLIBUV_USE_STATIC=OFF
|
|
|
|
# CMAKE_EXTRA_FLAGS += -DLIBVTERM_USE_STATIC=OFF
|
|
|
|
# CMAKE_EXTRA_FLAGS += -DLUAJIT_USE_STATIC=OFF
|
|
|
|
# CMAKE_EXTRA_FLAGS += -DMSGPACK_USE_STATIC=OFF
|