Skip to content

Commit

Permalink
fixup-clean-ninja
Browse files Browse the repository at this point in the history
  • Loading branch information
peterschrammel committed Nov 25, 2024
1 parent 8f83e09 commit ac939e5
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jbmc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,9 @@ add_custom_target(java-regression ALL
DEPENDS ${java_regression_compiled_sources}
)

file(GLOB_RECURSE out_files "regression/**/*.out")
file(GLOB_RECURSE goto_binary_files "regression/**/*.gb")
set_property(
TARGET java-regression
APPEND
PROPERTY ADDITIONAL_CLEAN_FILES ${java_regression_compiled_sources})
PROPERTY ADDITIONAL_CLEAN_FILES ${java_regression_compiled_sources} ${out_files} ${goto_binary_files} regression/tests.log regression/tests-symex-driven-loading.log)
13 changes: 13 additions & 0 deletions regression/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,3 +99,16 @@ if(WITH_MEMORY_ANALYZER)
add_subdirectory(memory-analyzer)
add_subdirectory(extract_type_header)
endif()

add_custom_target(cbmc-regression ALL
DEPENDS cbmc
)

add_dependencies(cbmc-regression)

file(GLOB_RECURSE out_files "**/*.out")
file(GLOB_RECURSE goto_binary_files "**/*.gb")
set_property(
TARGET cbmc-regression
APPEND
PROPERTY ADDITIONAL_CLEAN_FILES ${out_files} ${goto_binary_files} tests.log)

0 comments on commit ac939e5

Please sign in to comment.