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:
parent
5e7492abdf
commit
8450ccd3c5
@ -4,7 +4,7 @@ project(erc-test)
|
|||||||
|
|
||||||
set(CMAKE_BUILD_TYPE Debug)
|
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})
|
if(DEFINED ENV{STATIC_ANALYSIS})
|
||||||
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --analyze")
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} --analyze")
|
||||||
|
Loading…
Reference in New Issue
Block a user