mirror of
https://github.com/falcosecurity/falco.git
synced 2025-10-21 19:44:57 +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>
9 lines
254 B
CMake
9 lines
254 B
CMake
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}/*.json"
|
|
"${CMAKE_CURRENT_SOURCE_DIR}/*.scap")
|
|
|
|
copy_files_to_build_dir("${test_trace_files}" psp)
|