Commit b769e512 authored by Carsten Gräser's avatar Carsten Gräser

Merge branch 'feature/build-examples-target' into 'master'

[cmake][examles] Add target for building all examples

See merge request staging/dune-functions!275
parents 8faf569d 9bb7d918
Pipeline #30937 passed with stage
in 9 minutes and 40 seconds
add_custom_target(build_examples)
add_dependencies(build_tests build_examples)
add_executable("advection-reaction-dg" advection-reaction-dg.cc)
dune_target_enable_all_packages("advection-reaction-dg")
set_property(TARGET advection-reaction-dg PROPERTY EXCLUDE_FROM_ALL 1)
add_dependencies(build_tests advection-reaction-dg)
add_dependencies(build_examples advection-reaction-dg)
add_executable("interpolation" interpolation.cc)
dune_target_enable_all_packages("interpolation")
set_property(TARGET interpolation PROPERTY EXCLUDE_FROM_ALL 1)
add_dependencies(build_tests interpolation)
add_dependencies(build_examples interpolation)
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_tests poisson-pq2)
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_tests stokes-taylorhood)
add_dependencies(build_examples stokes-taylorhood)
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_tests poisson-mfem)
add_dependencies(build_examples poisson-mfem)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment