tastytea
/
mastodon-cpp
Arquivado
1
0
Fork 0

Tell the compiler to be more pedantic for debug builds.

Esse commit está contido em:
tastytea 2018-12-04 09:49:57 +01:00
commit cfb21e3e2b
Assinado por: tastytea
ID da chave GPG: CFC39497F1B26E07
1 arquivos alterados com 2 adições e 1 exclusões

Ver arquivo

@ -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")