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
6c04dc6a
Commit
6c04dc6a
authored
3 years ago
by
Simon Praetorius
Browse files
Options
Downloads
Patches
Plain Diff
Move dunecommon target to the root CMakeLists file
parent
b09d1048
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!1048
Move dunecommon target to the root CMakeLists file
Pipeline
#41119
passed
3 years ago
Stage: test
Stage: downstream
Pipeline: Dune Nightly Test
#41120
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CMakeLists.txt
+7
-0
7 additions, 0 deletions
CMakeLists.txt
dune/common/CMakeLists.txt
+2
-6
2 additions, 6 deletions
dune/common/CMakeLists.txt
with
9 additions
and
6 deletions
CMakeLists.txt
+
7
−
0
View file @
6c04dc6a
...
...
@@ -13,6 +13,13 @@ include(DuneMacros)
# start a dune project with information from dune.module
dune_project
()
# Create the module library for dune-common
dune_add_library
(
dunecommon
)
# Set properties to the dunecommon target
add_dune_blas_lapack_flags
(
dunecommon
)
add_dune_tbb_flags
(
dunecommon
)
# add subdirectories to execute CMakeLists.txt there
add_subdirectory
(
bin
)
add_subdirectory
(
cmake
)
...
...
This diff is collapsed.
Click to expand it.
dune/common/CMakeLists.txt
+
2
−
6
View file @
6c04dc6a
...
...
@@ -3,9 +3,8 @@ add_subdirectory("simd")
add_subdirectory
(
"std"
)
add_subdirectory
(
"test"
)
#build the library dunecommon
dune_add_library
(
"dunecommon"
# add some sources to the dunecommon library
target_sources
(
dunecommon PRIVATE
debugalign.cc
debugallocator.cc
exceptions.cc
...
...
@@ -18,9 +17,6 @@ dune_add_library("dunecommon"
stdstreams.cc
stdthread.cc
)
add_dune_blas_lapack_flags
(
dunecommon
)
add_dune_tbb_flags
(
dunecommon
)
#install headers
install
(
FILES
alignedallocator.hh
...
...
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