mirror of
https://github.com/falcosecurity/falco.git
synced 2025-10-21 03:27:36 +00:00
Replace nearly-identical blocks of code that defined individual custom targets/custom commands to copy files from source to build dir with the copy_files_to_build_dir function. This reduces the number of build targets and speeds up/cleans up the make output. Signed-off-by: Mark Stemm <mark.stemm@gmail.com>
13 lines
300 B
CMake
13 lines
300 B
CMake
add_subdirectory(k8s_audit)
|
|
add_subdirectory(psp)
|
|
add_subdirectory(plugins)
|
|
|
|
include(copy_files_to_build_dir)
|
|
|
|
# Note: list of traces is created at cmake time, not build time
|
|
file(GLOB test_trace_files
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/*.scap")
|
|
|
|
copy_files_to_build_dir("${test_trace_files}" base-scap)
|
|
|