mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-15 11:46:00 -06:00
Tutorial: Clarify instructions for multi-config generators in Step 1
This commit is contained in:
@@ -102,7 +102,14 @@ Then call that build system to actually compile/link the project:
|
|||||||
|
|
||||||
cmake --build .
|
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
|
.. code-block:: console
|
||||||
|
|
||||||
@@ -110,6 +117,11 @@ Finally, try to use the newly built ``Tutorial`` with these commands:
|
|||||||
Tutorial 10
|
Tutorial 10
|
||||||
Tutorial
|
Tutorial
|
||||||
|
|
||||||
|
|
||||||
|
**Note:** Depending on the shell, the correct syntax may be ``Tutorial``,
|
||||||
|
``./Tutorial`` or ``.\Tutorial``. For simplicity, the exercises will use
|
||||||
|
``Tutorial`` throughout.
|
||||||
|
|
||||||
Solution
|
Solution
|
||||||
--------
|
--------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user