mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
local.mk.example: add example for -Werror [ci skip] #10178
This commit is contained in:
parent
ce90a19abd
commit
6fe430f582
@ -7,6 +7,9 @@
|
||||
# These CFLAGS can be used in addition to those specified in CMakeLists.txt:
|
||||
# CMAKE_EXTRA_FLAGS="-DCMAKE_C_FLAGS=-ftrapv -Wlogical-op"
|
||||
|
||||
# To turn compiler warnings into errors:
|
||||
# CMAKE_EXTRA_FLAGS += "-DCMAKE_C_FLAGS=${CMAKE_C_FLAGS} -Werror"
|
||||
|
||||
# Sets the build type; defaults to Debug. Valid values:
|
||||
#
|
||||
# - Debug: Disables optimizations (-O0), enables debug information.
|
||||
|
Loading…
Reference in New Issue
Block a user