Skip to content

Commit f91ad75

Browse files
Add paragraph on where to actually get the code for the tutorial (#185)
Remove non-working link to attachments folder (Antora does not work like that)
1 parent 7a53fa5 commit f91ad75

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

en/02_Development_environment.adoc

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,20 @@ except for the compiler, are compatible with Windows, Linux and macOS, but the
88
steps for installing them differ a bit, which is why they're described
99
separately here.
1010

11+
== Getting the code
12+
13+
First we need to clone the code for the tutorial from the https://github.com/KhronosGroup/Vulkan-Tutorial[github repository].
14+
This requires an install of the https://git-scm.com/[git] version control system.
15+
16+
With git installed we can locally clone the repository like this:
17+
18+
[,bash]
19+
----
20+
git clone https://github.com/KhronosGroup/Vulkan-Tutorial
21+
----
22+
23+
This will clone the repository to a new folder (inside the current one) called `Vulkan-Tutorial`. The Source files for the chapters are located in the `attachments` folder.
24+
1125
== Dependency Install Scripts
1226

1327
To make the setup process easier, we've provided dependency install scripts for Windows and Linux:
@@ -278,9 +292,7 @@ everything works.
278292
I will assume that you already have some basic experience with CMake, like
279293
how variables and rules work. If not, you can get up to speed very quickly with https://cmake.org/cmake/help/book/mastering-cmake/cmake/Help/guide/tutorial/[this tutorial].
280294

281-
You can now use the link:https://github.com/KhronosGroup/Vulkan-Tutorial/tree/main/attachments[attachments] directory in this tutorial
282-
as a template for your Vulkan projects. Make a copy, rename it to something like `HelloTriangle`
283-
and remove all the code in `main.cpp`.
295+
You can now use the code from any of the following chapters found in the `attachment` folder as a template for your Vulkan projects. Make a copy, rename it to something like `HelloTriangle` and remove all the code in `main.cpp`.
284296

285297
Congratulations, you're all set for xref:03_Drawing_a_triangle/00_Setup/00_Base_code.adoc[playing with Vulkan]!
286298

0 commit comments

Comments
 (0)