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
6e38287c
Verified
Commit
6e38287c
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
Deprecate usage of dune_project cmake function outside of CMake project directories
parent
f7f70723
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1264
Deprecate usage of dune_project cmake function outside of CMake project directories
Pipeline
#66273
passed with warnings
1 year ago
Stage: .pre
Stage: test
Stage: downstream
Pipeline: Dune Nightly Test
#66274
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/modules/DuneProject.cmake
+5
-0
5 additions, 0 deletions
cmake/modules/DuneProject.cmake
with
5 additions
and
0 deletions
cmake/modules/DuneProject.cmake
+
5
−
0
View file @
6e38287c
...
...
@@ -59,6 +59,11 @@ include(OverloadCompilerFlags)
# Don't forget to call finalize_dune_project afterwards.
macro
(
dune_project
)
if
(
NOT CMAKE_CURRENT_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR
)
message
(
DEPRECATION
"The function `dune_project` shall only be called on CMake project root directory.
Note that CMake projects may be nested: https://cmake.org/cmake/help/latest/command/project.html."
)
endif
()
# check if CXX flag overloading has been enabled (see OverloadCompilerFlags.cmake)
initialize_compiler_script
()
...
...
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