Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Core Modules
dune-common
Commits
7c88fd4a
Commit
7c88fd4a
authored
1 year ago
by
Santiago Ospina De Los Ríos
Committed by
Santiago Ospina De Los Ríos
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix line break in deprecation warning
parent
28627eba
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!1247
Export targets under custom namespaces (Dune:: by default)
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/DuneAddLibrary.cmake
+5
-4
5 additions, 4 deletions
cmake/modules/DuneAddLibrary.cmake
with
5 additions
and
4 deletions
cmake/modules/DuneAddLibrary.cmake
+
5
−
4
View file @
7c88fd4a
...
...
@@ -187,8 +187,9 @@ function(dune_add_library_normal _name)
message
(
DEPRECATION
"The function dune_add_library(<lib> ...) now requires to provide NO_EXPORT or EXPORT_NAME. "
"We recommend to choose an export name with a camel title case matching your library name "
"(e.g., Common, ISTL, and MultiDomainGrid will be exported as Dune::Common, Dune::ISTL, and Dune::MultiDomainGrid) "
" * Calls to `dune_add_library(<lib> ...)` without export specification will be supported until Dune 2.11"
"(e.g., Common, ISTL, and MultiDomainGrid will be exported as Dune::Common, Dune::ISTL, and Dune::MultiDomainGrid)
\n
"
" * Calls to `dune_add_library(<lib> ...)` without export specification will be supported until Dune 2.11
\n
"
" * Consumption of unscoped targets `<lib>` will be supported until Dune 2.12"
)
set
(
ARG_EXPORT_NAME
${
_name
}
)
endif
()
...
...
@@ -245,8 +246,8 @@ function(dune_add_library_interface _name)
message
(
DEPRECATION
"The function dune_add_library(<lib> ...) now requires to provide NO_EXPORT or EXPORT_NAME. "
"We recommend to choose an export name with a camel title case matching your library name "
"(e.g., Common, ISTL, and MultiDomainGrid will be exported as Dune::Common, Dune::ISTL, and Dune::MultiDomainGrid)
"
" * Calls to `dune_add_library(<lib> ...)` without export specification will be supported until Dune 2.11"
"(e.g., Common, ISTL, and MultiDomainGrid will be exported as Dune::Common, Dune::ISTL, and Dune::MultiDomainGrid)
\n
"
" * Calls to `dune_add_library(<lib> ...)` without export specification will be supported until Dune 2.11
\n
"
" * Consumption of unscoped targets `<lib>` will be supported until Dune 2.12"
)
set
(
ARG_EXPORT_NAME
${
_name
}
)
endif
()
...
...
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