Commit 1b7dc53f authored by Jan Möbius's avatar Jan Möbius

Introduce deprecation warning on old template naming

parent 56f71743
......@@ -279,6 +279,7 @@ 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 ()
......
Markdown is supported
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