Skip to content
Snippets Groups Projects
Commit 246b2033 authored by Dominic Kempf's avatar Dominic Kempf
Browse files

[cmake][bugfix] Correct handling of the EXCLUDE_FROM_ALL property:

The signature of `dune_add_test`, that takes the `TARGET` from the user
produced excluded targets if added in a directory that has the directory
property `EXCLUDE_FROM_ALL` set. The correct solution IMO is to not use
that property on test subdirectories anymore (it is a relic from the old
testing magic), because we rely on `dune_add_test` to handle exclusion.

See dune-common#21 for details.
parent 2334a10b
No related branches found
No related tags found
1 merge request!8[cmake][bugfix] Correct handling of the EXCLUDE_FROM_ALL property:
add_subdirectory("quadraturerules")
add_subdirectory("genericgeometry")
add_subdirectory("refinement")
add_subdirectory("test" EXCLUDE_FROM_ALL)
add_subdirectory("test")
install(FILES
affinegeometry.hh
......
add_subdirectory("test" EXCLUDE_FROM_ALL)
add_subdirectory("test")
install(FILES
codimtable.hh
conversion.hh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment