mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-10 17:14:10 +00:00
Improve standardization and cross-references. This doesn't make any substantial changes to the existing prose.
22 lines
496 B
ReStructuredText
22 lines
496 B
ReStructuredText
ctest_run_script
|
|
----------------
|
|
|
|
Run a :option:`ctest -S` script.
|
|
|
|
.. code-block:: cmake
|
|
|
|
ctest_run_script([NEW_PROCESS]
|
|
<script-file>...
|
|
[RETURN_VALUE <result-var>]
|
|
)
|
|
|
|
Runs a script or scripts much like if it was run from :option:`ctest -S`.
|
|
The options are:
|
|
|
|
``NEW_PROCESS``
|
|
Run each script in a separate process.
|
|
|
|
``RETURN_VALUE <result-var>``
|
|
Store in the ``<result-var>`` variable ``0`` for success and
|
|
non-zero on failure.
|