From 04d3dd51125182767d90c318895a6232ec4ee750 Mon Sep 17 00:00:00 2001 From: Jay Kwak <82421531+jkwak-work@users.noreply.github.com> Date: Mon, 13 May 2024 14:22:21 -0700 Subject: Update CONTRIBUTION.md Clarify which `slang.sln` file needs to be used for cmake workflow. --- CONTRIBUTION.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTION.md b/CONTRIBUTION.md index fb5f9e5e2..7b0f1b4a9 100644 --- a/CONTRIBUTION.md +++ b/CONTRIBUTION.md @@ -77,11 +77,12 @@ Download and install CMake from [CMake.org/download](https://cmake.org/download) Run CMake with the following command to generate a Visual Studio 2022 Solution: ``` -# For VisualStudio 2022 -C:\git\slang> cmake.exe --preset vs2022 +C:\git\slang> cmake.exe --preset vs2022 # For VisualStudio 2022 +C:\git\slang> cmake.exe --preset vs2019 # For VisualStudio 2019 ``` -Open slang.sln with VisualStudio IDE and build it for "x64". +Open `build/slang.sln` with VisualStudio IDE and build it for "x64". +> Warning: there is another file, `slang.sln`, at the root directory. When you use cmake workflow, you must use one in the `build` directory. Or you can build with a following command: ``` -- cgit v1.2.3