Skip to content

Commit 04d3dd5

Browse files
authored
Update CONTRIBUTION.md
Clarify which `slang.sln` file needs to be used for cmake workflow.
1 parent e005415 commit 04d3dd5

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

CONTRIBUTION.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,12 @@ Download and install CMake from [CMake.org/download](https://cmake.org/download)
7777

7878
Run CMake with the following command to generate a Visual Studio 2022 Solution:
7979
```
80-
# For VisualStudio 2022
81-
C:\git\slang> cmake.exe --preset vs2022
80+
C:\git\slang> cmake.exe --preset vs2022 # For VisualStudio 2022
81+
C:\git\slang> cmake.exe --preset vs2019 # For VisualStudio 2019
8282
```
8383

84-
Open slang.sln with VisualStudio IDE and build it for "x64".
84+
Open `build/slang.sln` with VisualStudio IDE and build it for "x64".
85+
> Warning: there is another file, `slang.sln`, at the root directory. When you use cmake workflow, you must use one in the `build` directory.
8586
8687
Or you can build with a following command:
8788
```

0 commit comments

Comments
 (0)