mirror of
https://github.com/reactos/CMake.git
synced 2024-12-21 03:00:59 +00:00
f1eacf0e07
The expressions may be parsed and then cached and evaluated multiple times. They are evaluated lazily so that literals such as ',' can be treated as universal parameter separators, and can be processed from results without appearing literally, and without interfering with the parsing/evaluation of the entire expression.
8 lines
150 B
CMake
8 lines
150 B
CMake
add_custom_target(check ALL COMMAND check
|
|
$<CONFIG>
|
|
$<CONFIG:.>
|
|
$<CONFIG:Foo,Bar>
|
|
$<CONFIG:Foo-Bar>
|
|
$<$<CONFIG:Foo-Nested>:foo>
|
|
VERBATIM)
|