summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbetsy.mcphail <betsy.mcphail@kitware.com>2023-08-17 14:31:04 (GMT)
committerbetsy.mcphail <betsy.mcphail@kitware.com>2023-08-17 15:19:06 (GMT)
commit7d3f4e12d28be5938068de4cad0a152d753aaa75 (patch)
tree05bfa521591983705febd7d717613078e8da7c5b
parent4653f8026065ed82cdee35af1fb4b05628db0665 (diff)
downloadCMake-7d3f4e12d28be5938068de4cad0a152d753aaa75.zip
CMake-7d3f4e12d28be5938068de4cad0a152d753aaa75.tar.gz
CMake-7d3f4e12d28be5938068de4cad0a152d753aaa75.tar.bz2
Tutorial: Clarify instructions for multi-config generators in Step 1
-rw-r--r--Help/guide/tutorial/A Basic Starting Point.rst14
1 files changed, 13 insertions, 1 deletions
diff --git a/Help/guide/tutorial/A Basic Starting Point.rst b/Help/guide/tutorial/A Basic Starting Point.rst
index 37b0668..2325e9e 100644
--- a/Help/guide/tutorial/A Basic Starting Point.rst
+++ b/Help/guide/tutorial/A Basic Starting Point.rst
@@ -102,7 +102,14 @@ Then call that build system to actually compile/link the project:
cmake --build .
-Finally, try to use the newly built ``Tutorial`` with these commands:
+For multi-config generators (e.g. Visual Studio), first navigate to the
+appropriate subdirectory, for example:
+
+.. code-block:: console
+
+ cd Debug
+
+Finally, try to use the newly built ``Tutorial``:
.. code-block:: console
@@ -110,6 +117,11 @@ Finally, try to use the newly built ``Tutorial`` with these commands:
Tutorial 10
Tutorial
+
+**Note:** Depending on the shell, the correct syntax may be ``Tutorial``,
+``./Tutorial`` or ``.\Tutorial``. For simplicity, the exercises will use
+``Tutorial`` throughout.
+
Solution
--------