Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cmake
cmake-library
Commits
3e93bee7
Commit
3e93bee7
authored
Dec 02, 2020
by
Max Lyon
Browse files
add method to drop T.cc files from list
parent
9c4e20e2
Pipeline
#16053
failed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
VCI/ACGCommon.cmake
View file @
3e93bee7
...
...
@@ -178,6 +178,16 @@ macro (acg_get_files_in_dir ret dir)
endforeach
()
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
function
(
acg_copy_after_build target src dst
)
acg_unset
(
_files
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment