aisl/cmake.compiler

8 lines
131 B
Plaintext
Raw Permalink Normal View History

2019-02-23 21:06:34 +01:00
if(DEFINED CMAKE_DEBUG)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Werror ")
add_definitions(
-DDEBUG
)
endif()