Skip to content
Snippets Groups Projects
Commit 3e93bee7 authored by Max Lyon's avatar Max Lyon
Browse files

add method to drop T.cc files from list

parent 9c4e20e2
No related branches found
No related tags found
1 merge request!1VCI Common
Pipeline #16053 failed
...@@ -178,6 +178,16 @@ macro (acg_get_files_in_dir ret dir) ...@@ -178,6 +178,16 @@ macro (acg_get_files_in_dir ret dir)
endforeach () endforeach ()
endmacro () endmacro ()
# drop all "*T.cc" files from list
macro (acg_drop_templates list)
foreach (_file ${${list}})
if (_file MATCHES "T.cc$")
set_source_files_properties(${_file} PROPERTIES HEADER_FILE_ONLY TRUE)
message("Deprecated naming scheme! The file ${_file} ends with T.cc 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 # copy the whole directory without svn files
function (acg_copy_after_build target src dst) function (acg_copy_after_build target src dst)
acg_unset (_files) acg_unset (_files)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment