This commit is contained in:
@@ -4,7 +4,7 @@ project(ke C) # Specify C language explicitly
|
||||
set(CMAKE_C_STANDARD 99)
|
||||
set(KE_VERSION "2.0.1")
|
||||
|
||||
set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Wshadow -Werror -std=c99 -g")
|
||||
set(CMAKE_C_FLAGS "-Wall -Wextra -pedantic -Wshadow -Werror -std=c99 -g -Werror=stringop-truncation")
|
||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -D_DEFAULT_SOURCE -D_XOPEN_SOURCE")
|
||||
|
||||
# Optionally enable AddressSanitizer (ASan)
|
||||
|
||||
Reference in New Issue
Block a user