From d99eabafb0749062e3fd3337bc83ef499d8517b6 Mon Sep 17 00:00:00 2001 From: GeorgH93 Date: Thu, 10 Dec 2020 22:21:20 +0100 Subject: [PATCH] Update build instructions --- README.md | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index f5f4708..2b275b3 100644 --- a/README.md +++ b/README.md @@ -1,17 +1,20 @@ # openVulkano openVulkano is a simple Vulkan rendering engine which is capable of recording command buffers from multiple threads. -## Building -### Visual Studio -#### Requierements -* Visual Studio 2019, 2017 might work but not tested -* [Vulkan SDK v1.1.x](https://vulkan.lunarg.com/sdk/home#windows) -* [Assimp SDK v4.1](https://github.com/assimp/assimp/releases/download/v4.1.0/assimp-sdk-4.1.0-setup.exe) -* git +## Building: +### Requirements: +* Git +* CMake +* C++ 17 compatible compiler -#### Build it -1. Clone it `git clone --recursive https://github.com/GeorgH93/openVulkano` -2. Open the `openVulkanoCpp.sln` with Visual Studio -3. If you are not using the default path of Assimp change it in the project properties -4. Use Visual Studio to build or run it +### Build from source: +```bash +git clone https://github.com/GeorgH93/openVulkano.git +cd openVulkano +mkdir build +cd build +cmake -DCMAKE_BUILD_TYPE=Release .. +cmake --build . --config Release +``` +