Explorar el Código

Merge topic 'doc-add_test-old'

b3f2455862 Help: The old add_test() form does not support TEST_LAUNCHER

Acked-by: Kitware Robot <[email protected]>
Merge-request: !10970
Brad King hace 5 meses
padre
commit
211e652731

+ 2 - 1
Help/command/add_test.rst

@@ -114,4 +114,5 @@ Add a test called ``<name>`` with the given command-line.
 Unlike the above ``NAME`` signature, target names are not supported
 in the command-line.  Furthermore, tests added with this signature do not
 support :manual:`generator expressions <cmake-generator-expressions(7)>`
-in the command-line or test properties.
+in the command-line or test properties, and the :prop_tgt:`TEST_LAUNCHER`
+and :prop_tgt:`CROSSCOMPILING_EMULATOR` target properties are not supported.

+ 3 - 0
Help/prop_tgt/CROSSCOMPILING_EMULATOR.rst

@@ -20,3 +20,6 @@ for built target system executables.
 This property is initialized by the value of the
 :variable:`CMAKE_CROSSCOMPILING_EMULATOR` variable if it is set when a target
 is created.
+
+This property is not supported when using the old form of :command:`add_test`
+(i.e. without the ``NAME`` and ``COMMAND`` keywords).

+ 3 - 0
Help/prop_tgt/TEST_LAUNCHER.rst

@@ -21,3 +21,6 @@ Contents of ``TEST_LAUNCHER`` may use
 This property is initialized by the value of the
 :variable:`CMAKE_TEST_LAUNCHER` variable if it is set when a target
 is created.
+
+This property is not supported when using the old form of :command:`add_test`
+(i.e. without the ``NAME`` and ``COMMAND`` keywords).