summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Kwak <82421531+jkwak-work@users.noreply.github.com>2024-05-13 14:22:21 -0700
committerGitHub <noreply@github.com>2024-05-13 14:22:21 -0700
commit04d3dd51125182767d90c318895a6232ec4ee750 (patch)
tree1694e9c50332f6de47367c9a3fdbcb4bff9d3e3d
parente0054151b5b1b4bc44312e3ca737aa2a9a04ff35 (diff)
Update CONTRIBUTION.md
Clarify which `slang.sln` file needs to be used for cmake workflow.
-rw-r--r--CONTRIBUTION.md7
1 files 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:
```