]> https://gitweb.dealii.org/ - dealii.git/commit
CMake: add a compile_test_executables target
authorMatthias Maier <tamiko@43-1.org>
Fri, 11 Nov 2022 23:37:12 +0000 (17:37 -0600)
committerMatthias Maier <tamiko@43-1.org>
Fri, 11 Nov 2022 23:37:12 +0000 (17:37 -0600)
commit028518511f4626662f1427ac7cd94e38603a8510
treed3384d9fb33b8968891f365f66e3b4f1f0d9d9f5
parenta6cc131ff613d254ac12b785e9aba6c8913d3ef4
CMake: add a compile_test_executables target

This commit adds a top-level compile_test_executables and modifies the
ADD_TEST() macro to let it depend on all executables generated by our
DEAL_II_PICKUP_TESTS() mechanism.

This is mainly intended for user projects and works around the issue
that simultaneous calls to ninja are not reentrant, meaning when
configuring a user project with ninja one is otherwise limited to run
tests in serial.
cmake/macros/macro_deal_ii_add_test.cmake

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.