Commit 3e93bee7 authored by Max Lyon's avatar Max Lyon
Browse files

add method to drop files from list

parent 9c4e20e2
Pipeline #16053 failed with stage
in 4 seconds
......@@ -178,6 +178,16 @@ macro (acg_get_files_in_dir ret dir)
endforeach ()
endmacro ()
# drop all "*" files from list
macro (acg_drop_templates list)
foreach (_file ${${list}})
if (_file MATCHES "$")
set_source_files_properties(${_file} PROPERTIES HEADER_FILE_ONLY TRUE)
message("Deprecated naming scheme! The file ${_file} ends with indicating it is a template only implementation file. Please rename to T_impl.hh to avoid problems with several IDEs.")
endif ()
endforeach ()
endmacro ()
# copy the whole directory without svn files
function (acg_copy_after_build target src dst)
acg_unset (_files)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment