Tell the compiler to be more pedantic for debug builds.

Este commit está contenido en:
tastytea 2018-12-04 09:49:57 +01:00
padre 1f5e356b2a
commit cfb21e3e2b
Firmado por: tastytea
ID de clave GPG: CFC39497F1B26E07
Se han modificado 1 ficheros con 2 adiciones y 1 borrados

Ver fichero

@ -16,7 +16,8 @@ set(CMAKE_CXX_STANDARD 14)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
set(CMAKE_CXX_EXTENSIONS OFF)
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -g -Og")
set(CMAKE_CXX_FLAGS_DEBUG
"${CMAKE_CXX_FLAGS_DEBUG} -Wall -pedantic -Wextra -g -Og")
# Do not complain about compatibility-wrapper
if(NOT CMAKE_BUILD_TYPE STREQUAL "Debug")