1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-11-23 23:32:45 +00:00

Unit-testing builds now define TESTING

This commit is contained in:
Peter Evans 2018-02-06 23:38:15 -06:00
parent 5e7492abdf
commit 8450ccd3c5

View File

@ -4,7 +4,7 @@ project(erc-test)
set(CMAKE_BUILD_TYPE Debug)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHEADLESS")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DHEADLESS -DTESTING")
if(DEFINED ENV{STATIC_ANALYSIS})
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --analyze")