Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cmake-library
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cmake
cmake-library
Commits
3e93bee7
Commit
3e93bee7
authored
4 years ago
by
Max Lyon
Browse files
Options
Downloads
Patches
Plain Diff
add method to drop T.cc files from list
parent
9c4e20e2
No related branches found
No related tags found
1 merge request
!1
VCI Common
Pipeline
#16053
failed
4 years ago
Stage: test
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
VCI/ACGCommon.cmake
+10
-0
10 additions, 0 deletions
VCI/ACGCommon.cmake
with
10 additions
and
0 deletions
VCI/ACGCommon.cmake
+
10
−
0
View file @
3e93bee7
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment