1
0
mirror of https://github.com/pevans/erc-c.git synced 2024-06-16 06:29:37 +00:00

Force removal of test program

This commit is contained in:
Peter Evans 2018-03-13 00:27:10 -05:00
parent dc8a431f87
commit 7d043abc9f

View File

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