mirror of
https://github.com/pevans/erc-c.git
synced 2024-11-27 20:51:17 +00:00
Force removal of test program
This commit is contained in:
parent
dc8a431f87
commit
7d043abc9f
@ -12,7 +12,7 @@ if(DEFINED ENV{STATIC_ANALYSIS})
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_FLAGS MATCHES "--analyze")
|
||||
set(CMAKE_C_LINK_EXECUTABLE "echo 'Will not execute binary when running static analysis'")
|
||||
set(CMAKE_C_LINK_EXECUTABLE "echo 'Will not execute binary when running static analysis'; rm -f ./erc-test")
|
||||
endif()
|
||||
|
||||
if(APPLE)
|
||||
|
Loading…
Reference in New Issue
Block a user