diff options
author | Brad King <brad.king@kitware.com> | 2023-08-19 12:44:18 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-08-19 12:44:29 (GMT) |
commit | a18af14579a17bfa89a9bce9dd39de693910797e (patch) | |
tree | b2c5fac99aa19ab8bdfc0259e45b56361e768bd2 /Help/guide | |
parent | e17f17c7a0824c4c8cbbd576032619c0d926c090 (diff) | |
parent | 7d3f4e12d28be5938068de4cad0a152d753aaa75 (diff) | |
download | CMake-a18af14579a17bfa89a9bce9dd39de693910797e.zip CMake-a18af14579a17bfa89a9bce9dd39de693910797e.tar.gz CMake-a18af14579a17bfa89a9bce9dd39de693910797e.tar.bz2 |
Merge topic 'tutorial-step1'
7d3f4e12d2 Tutorial: Clarify instructions for multi-config generators in Step 1
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8734
Diffstat (limited to 'Help/guide')
-rw-r--r-- | Help/guide/tutorial/A Basic Starting Point.rst | 14 |
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 -------- |