diff options
author | Joseph Snyder <joe.snyder@kitware.com> | 2021-09-27 13:03:00 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-10-07 15:53:51 (GMT) |
commit | 5a86ce5428136b601e72b377e1447772e71a3812 (patch) | |
tree | 95436e8c6d3b11d07e050ba960e57e48943a96fc /Help/guide/tutorial/Installing and Testing.rst | |
parent | 49392b591dd32732d101e7983f528f6560e7f7b5 (diff) | |
download | CMake-5a86ce5428136b601e72b377e1447772e71a3812.zip CMake-5a86ce5428136b601e72b377e1447772e71a3812.tar.gz CMake-5a86ce5428136b601e72b377e1447772e71a3812.tar.bz2 |
Tutorial: Step 4 improvements
Small changes to the text and CMake code for the fourth step of the
tutorial:
* Remove parameter from endfunction call
* Standardize on "binary directory" for test location
* Add additional information about a Release build.
Issue: #22663
Diffstat (limited to 'Help/guide/tutorial/Installing and Testing.rst')
-rw-r--r-- | Help/guide/tutorial/Installing and Testing.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Help/guide/tutorial/Installing and Testing.rst b/Help/guide/tutorial/Installing and Testing.rst index 2fc3202..394c986 100644 --- a/Help/guide/tutorial/Installing and Testing.rst +++ b/Help/guide/tutorial/Installing and Testing.rst @@ -88,6 +88,8 @@ input, and expected results based on the passed arguments. Rebuild the application and then cd to the binary directory and run the :manual:`ctest <ctest(1)>` executable: ``ctest -N`` and ``ctest -VV``. For multi-config generators (e.g. Visual Studio), the configuration type must be -specified. To run tests in Debug mode, for example, use ``ctest -C Debug -VV`` -from the build directory (not the Debug subdirectory!). Alternatively, build -the ``RUN_TESTS`` target from the IDE. +specified with the ``-C <mode>`` flag. For example, to run tests in Debug +mode use ``ctest -C Debug -VV`` from the binary directory +(not the Debug subdirectory!). Release mode would be executed from the same +location but with a ``-C Release``. Alternatively, build the ``RUN_TESTS`` +target from the IDE. |