From: Jean-Philippe Bruyère Date: Mon, 15 Nov 2021 16:39:30 +0000 (+0100) Subject: update windows doc X-Git-Tag: v0.2.0~61 X-Git-Url: https://git.osiis.dedyn.io/?a=commitdiff_plain;h=5845a4b29c1ff360dc294bb66d4a6d5d310a299c;p=jp%2Fvkvg.git update windows doc --- diff --git a/.gitignore b/.gitignore index d2c2c5f..48cac0c 100644 --- a/.gitignore +++ b/.gitignore @@ -4,4 +4,4 @@ ignore .vs/ *.json log-*.txt -doc/ \ No newline at end of file +docs/ diff --git a/doc/windows_build_tutorial.md b/doc/windows_build_tutorial.md index b0cfaa0..943c759 100644 --- a/doc/windows_build_tutorial.md +++ b/doc/windows_build_tutorial.md @@ -14,23 +14,23 @@ Make sure that [Git](https://git-scm.com/download/win) is installed on your mach git version 2.19.1.windows.1 ``` Install [vcpkg package manager](https://docs.microsoft.com/en-us/cpp/build/vcpkg?view=vs-2019) to build required libraries: -```bash +```bash git clone https://github.com/Microsoft/vcpkg.git cd vcpkg .\bootstrap-vcpkg.bat ``` Then install the libraries required by vkvg, use the triplet corresponding with your architecture: -```bash -vcpkg install fontconfig:x64-window freetype:x64-window harfbuzz:x64-window +```bash +vcpkg install fontconfig:x64-windows freetype:x64-windows harfbuzz:x64-windows ``` Optionaly, install [GLFW] to build the samples: -```bash -vcpkg install glfw:x64-window +```bash +vcpkg install glfw3:x64-windows ``` Add the path to the shared libraries binaries to your **PATH** environment variable, they are in %vcpkg-root%/installed/x64-windows/bin/. To make those libraries available for vsstudio use the [system wide integration](https://vcpkg.readthedocs.io/en/latest/examples/installing-and-using-packages/#vsmsbuild-project-user-wide-integration) from vcpkg. -```bash +```bash vcpkg integrate install ``` #### CMake configuration