diff --git a/test/trace_files/k8s_audit/CMakeLists.txt b/test/trace_files/k8s_audit/CMakeLists.txt index 5be3d6aa..0a482806 100644 --- a/test/trace_files/k8s_audit/CMakeLists.txt +++ b/test/trace_files/k8s_audit/CMakeLists.txt @@ -9,4 +9,8 @@ foreach(trace_file_path ${test_trace_files}) add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/${trace_file} COMMAND ${CMAKE_COMMAND} -E copy ${trace_file_path} ${CMAKE_CURRENT_BINARY_DIR}/${trace_file} DEPENDS ${trace_file_path}) + list(APPEND K8S_AUDIT_TRACE_FILES_TARGETS test-trace-${trace_file}) endforeach() + +add_custom_target(trace-files-k8s-audit ALL) +add_dependencies(trace-files-k8s-audit ${K8S_AUDIT_TRACE_FILES_TARGETS}) \ No newline at end of file