Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-fufem
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
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
fufem
dune-fufem
Commits
79dc5b40
Commit
79dc5b40
authored
1 month ago
by
Carsten Gräser
Browse files
Options
Downloads
Plain Diff
Merge branch 'feature/dont-always-build-examples' into 'master'
[examples] Do not always build examples See merge request
!266
parents
d2e6ef6a
8375c2ea
Branches
Branches containing commit
No related tags found
1 merge request
!266
[examples] Do not always build examples
Pipeline
#77350
passed
1 month ago
Stage: .pre
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
examples/CMakeLists.txt
+37
-0
37 additions, 0 deletions
examples/CMakeLists.txt
with
37 additions
and
0 deletions
examples/CMakeLists.txt
+
37
−
0
View file @
79dc5b40
add_custom_target
(
build_examples
)
add_dependencies
(
build_tests build_examples
)
if
(
dune-common_VERSION VERSION_GREATER_EQUAL 2.11.0
)
add_executable
(
"biharmonic"
biharmonic.cc
)
dune_target_enable_all_packages
(
biharmonic
)
set_property
(
TARGET biharmonic PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples biharmonic
)
endif
()
add_executable
(
"hyperelasticity"
hyperelasticity.cc
)
dune_target_enable_all_packages
(
hyperelasticity
)
set_property
(
TARGET hyperelasticity PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples hyperelasticity
)
add_executable
(
"linear-elasticity"
linear-elasticity.cc
)
dune_target_enable_all_packages
(
linear-elasticity
)
set_property
(
TARGET linear-elasticity PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples linear-elasticity
)
if
(
dune-functions_VERSION VERSION_GREATER_EQUAL 2.11.0
)
add_executable
(
"poisson-adaptive"
poisson-adaptive.cc
)
dune_target_enable_all_packages
(
poisson-adaptive
)
set_property
(
TARGET poisson-adaptive PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples poisson-adaptive
)
endif
()
add_executable
(
"poisson-pq2"
poisson-pq2.cc
)
dune_target_enable_all_packages
(
poisson-pq2
)
set_property
(
TARGET poisson-pq2 PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples poisson-pq2
)
add_executable
(
"stokes-taylorhood"
stokes-taylorhood.cc
)
dune_target_enable_all_packages
(
"stokes-taylorhood"
)
set_property
(
TARGET stokes-taylorhood PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples stokes-taylorhood
)
if
(
dune-common_VERSION VERSION_GREATER_EQUAL 2.11.0
)
add_executable
(
"poisson-hermite"
poisson-hermite.cc
)
dune_target_enable_all_packages
(
"poisson-hermite"
)
set_property
(
TARGET poisson-hermite PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples poisson-hermite
)
add_executable
(
"poisson-hermite-nitsche"
poisson-hermite-nitsche.cc
)
dune_target_enable_all_packages
(
"poisson-hermite-nitsche"
)
set_property
(
TARGET poisson-hermite-nitsche PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples poisson-hermite-nitsche
)
endif
()
add_executable
(
"poisson-mfem"
poisson-mfem.cc
)
dune_target_enable_all_packages
(
"poisson-mfem"
)
set_property
(
TARGET poisson-mfem PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples poisson-mfem
)
add_executable
(
"poisson-neumann"
poisson-neumann.cc
)
dune_target_enable_all_packages
(
"poisson-neumann"
)
set_property
(
TARGET poisson-neumann PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples poisson-neumann
)
add_executable
(
"poisson-nitsche"
poisson-nitsche.cc
)
dune_target_enable_all_packages
(
"poisson-nitsche"
)
set_property
(
TARGET poisson-nitsche PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples poisson-nitsche
)
add_executable
(
"fracture"
fracture.cc
)
dune_target_enable_all_packages
(
"fracture"
)
set_property
(
TARGET fracture PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples fracture
)
add_executable
(
"benchmark"
benchmark.cc
)
dune_target_enable_all_packages
(
"benchmark"
)
set_property
(
TARGET benchmark PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples benchmark
)
add_executable
(
"showcase"
showcase.cc
)
dune_target_enable_all_packages
(
"showcase"
)
set_property
(
TARGET showcase PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples showcase
)
add_executable
(
"primal-plasticity"
primal-plasticity.cc
)
dune_target_enable_all_packages
(
"primal-plasticity"
)
set_property
(
TARGET primal-plasticity PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples primal-plasticity
)
add_executable
(
"navier-stokes"
navier-stokes.cc
)
dune_target_enable_all_packages
(
"navier-stokes"
)
set_property
(
TARGET navier-stokes PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples navier-stokes
)
add_executable
(
"minimalsurface-equation"
minimalsurface-equation.cc
)
dune_target_enable_all_packages
(
"minimalsurface-equation"
)
set_property
(
TARGET minimalsurface-equation PROPERTY EXCLUDE_FROM_ALL 1
)
add_dependencies
(
build_examples minimalsurface-equation
)
add_custom_target
(
python-examples
)
dune_add_copy_dependency
(
python-examples
"fufemforms.py"
)
...
...
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