Help: Clarify scope of `if(TARGET)` expression
This commit is contained in:
parent
a336e438e2
commit
63c5808f93
|
@ -67,9 +67,10 @@ Possible expressions are:
|
||||||
True if the given name is an existing policy (of the form ``CMP<NNNN>``).
|
True if the given name is an existing policy (of the form ``CMP<NNNN>``).
|
||||||
|
|
||||||
``if(TARGET target-name)``
|
``if(TARGET target-name)``
|
||||||
True if the given name is an existing logical target name such as those
|
True if the given name is an existing logical target name created
|
||||||
created by the :command:`add_executable`, :command:`add_library`, or
|
by a call to the :command:`add_executable`, :command:`add_library`,
|
||||||
:command:`add_custom_target` commands.
|
or :command:`add_custom_target` command that has already been invoked
|
||||||
|
(in any directory).
|
||||||
|
|
||||||
``if(TEST test-name)``
|
``if(TEST test-name)``
|
||||||
True if the given name is an existing test name created by the
|
True if the given name is an existing test name created by the
|
||||||
|
|
Loading…
Reference in New Issue