From d22886cf52f077f9318377e0fbdd5e2dad58adaf Mon Sep 17 00:00:00 2001 From: Brandon Jones Date: Mon, 8 May 2023 16:45:38 +0000 Subject: [PATCH] Add MSVS build instructions Adds instructions on how to generate an MSVS solution. Bug: dawn:1661 Change-Id: I3433951a3460d6b6392964e4b163060fc100b6c7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/131881 Reviewed-by: Austin Eng Kokoro: Kokoro Commit-Queue: Brandon1 Jones --- docs/building.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/building.md b/docs/building.md index dc32aad3c5..16fb7b69d6 100644 --- a/docs/building.md +++ b/docs/building.md @@ -73,6 +73,9 @@ The most common GN build option is `is_debug=true/false`; otherwise On macOS you'll want to add the `use_system_xcode=true` in most cases. (and if you're a googler please get XCode from go/xcode). +To generate a Microsoft Visual Studio solution, add `ide=vs2022` and +`ninja-executable=\dawn\third_party\ninja\ninja.exe`. +The .sln file will be created in the output directory specified. ### Fuzzers on MacOS If you are attempting fuzz, using `TINT_BUILD_FUZZERS=ON`, the version of llvm