Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
dumux-repositories
dumux
Commits
c58be6a0
Commit
c58be6a0
authored
Nov 06, 2020
by
Timo Koch
Browse files
[doc][cmake] Improve dumux_evaluate_cmake_guard doc
parent
64af647a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cmake/modules/DumuxTestMacros.cmake
View file @
c58be6a0
...
...
@@ -190,16 +190,14 @@
# :multi:
# :argname: condition
#
# A number of conditions that CMake should evaluate before adding this
# test. If one of the conditions fails, the test should be shown
# as skipped in the test summary. Use this feature instead of guarding
# the call to :code:`dumux_add_test` with an :code:`if` clause.
# A number of conditions that CMake should evaluate.
# Uses the same mechanics that `dumux_add_test` uses to evaluate its CMAKE_GUARD argument.
#
# The passed condition can be a complex expression like
# `( A OR B ) AND ( C OR D )`. Mind the spaces around the parentheses.
#
# Example: Write CMAKE_GUARD dune-foo_FOUND if you want
your test to only
#
build and run when the dune-foo module is present
.
# Example: Write CMAKE_GUARD dune-foo_FOUND if you want
to set a variable
#
that is only true if the module dune-foo has been found
.
#
# Note: This forwards to dune_add_test but enables another layer in case we need to support
...
...
Kilian Weishaupt
@kweis
mentioned in commit
6bc37667
·
Nov 06, 2020
mentioned in commit
6bc37667
mentioned in commit 6bc37667bae749415a10fcfbd1a09e0251879f08
Toggle commit list
Kilian Weishaupt
@kweis
mentioned in merge request
!2376 (merged)
·
Nov 06, 2020
mentioned in merge request
!2376 (merged)
mentioned in merge request !2376
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment