Skip to content

Commit

Permalink
Update VulkanTriangle for windows and linux platform
Browse files Browse the repository at this point in the history
  • Loading branch information
FuXiii committed Aug 29, 2024
1 parent 3f37515 commit 14bc592
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions source/StartFromVulkanSDK.rst
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,18 @@ Vulkan 三角形
编译
******

1. 下载解压
2. 找到 ``README.md`` 文件,在 ``README.md`` 同级目录中新建 ``build`` 文件夹
3. 在 ``build`` 文件夹目录下打开 ``命令行`` 程序
4. 输入 ``cmake ..`` 并回车,将会在 ``build`` 文件夹下生成项目工程
5. 打开执行即可
.. tab-set::

.. tab-item:: Windows

1. 下载解压
2. 找到 ``README.md`` 文件,在 ``README.md`` 同级目录中新建 ``build`` 文件夹
3. 在 ``build`` 文件夹目录下打开 ``命令行`` 程序
4. 输入 ``cmake ..`` 并回车,将会在 ``build`` 文件夹下生成项目工程
5. 打开执行即可

.. tab-item:: Linux

待适配

.. figure:: ./_static/vulkan_triangle.png
Binary file added source/_static/vulkan_triangle.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 14bc592

Please sign in to comment.