| 1 |
# A dummy checker implementation that does not write the requested output file |
| 2 |
# so it triggers an error for every checker. |
| 3 |
|
| 4 |
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/ret0.c.in" "int main(void){return 0;}\n") |
| 5 |
|
| 6 |
configure_file( |
| 7 |
"${CMAKE_CURRENT_BINARY_DIR}/ret0.c.in" |
| 8 |
"${CMAKE_CURRENT_BINARY_DIR}/ret0.c" |
| 9 |
) |
| 10 |
|
| 11 |
foreach(_pseudo IN ITEMS valgrind purify BC) |
| 12 |
add_executable(pseudonl_${_pseudo} "${CMAKE_CURRENT_BINARY_DIR}/ret0.c") |
| 13 |
set_target_properties(pseudonl_${_pseudo} PROPERTIES OUTPUT_NAME ${_pseudo}) |
| 14 |
endforeach() |