You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tinyobjloader can be installed with vcpkg like so: vcpkg install tinyobjloader
280
280
281
-
=== Setting up Visual Studio
282
-
283
-
==== Setting up a CMake project
284
-
285
-
Now that you have installed all the dependencies, we can set up a basic
286
-
CMake project for Vulkan and write a little bit of code to make sure that
287
-
everything works.
288
-
289
-
We will assume that you already have some basic experience with CMake, like
290
-
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].
291
-
292
-
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`.
293
-
294
-
Congratulations, you're all set for xref:03_Drawing_a_triangle/00_Setup/00_Base_code.adoc[playing with Vulkan]!
295
-
296
281
== Linux
297
282
298
283
These instructions will be aimed at Ubuntu, Fedora and Arch Linux users, but
@@ -515,3 +500,28 @@ You are now all set for xref:03_Drawing_a_triangle/00_Setup/00_Base_code.adoc[th
515
500
== Android
516
501
517
502
Vulkan is a first-class API on Android and widely supported. But using it differs in several key areas from window management to build systems. So while the basic chapters focus on desktop platforms, the tutorial also has a xref:14_Android.adoc[dedicated chapter] that walks you through setting up your development environment and getting the tutorial code up-and-running on Android.
503
+
504
+
== Setting up a CMake project
505
+
506
+
Now that you have installed all the dependencies, we can set up a basic
507
+
CMake project for Vulkan and write a little bit of code to make sure that
508
+
everything works.
509
+
510
+
We will assume that you already have some basic experience with CMake, like
511
+
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].
512
+
513
+
The `attachment\template` folder contains a CMake template that you can use to create a project file in the `build` folder for your IDE of choice. Use this as a starting point to work along the tutorial:
0 commit comments