Skip to content

Commit 02dd1e6

Browse files
aykevldeadprogram
authored andcommitted
guides/build: add note on CMake on Windows
1 parent 41fc03d commit 02dd1e6

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

content/docs/guides/build.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,12 @@ choco install --confirm git golang mingw make cmake ninja python
131131

132132
Use *Git Bash* (installed above) to run all the build commands like `make`. The TinyGo build system expects a Unix-like environment that is not normally provided by Windows but is included already in *Git Bash*.
133133

134+
Choco doesn't seem to add CMake automatically to the `$PATH` variable. You can do this manually if needed, in Git bash:
135+
136+
```shell
137+
export PATH="$PATH:/c/Program Files/CMake/bin"
138+
```
139+
134140
#### Building LLVM
135141

136142
The following command takes care of downloading and building LLVM. It places the source code in `llvm-project/` and the build output in `llvm-build/`. It only needs to be done once until the next LLVM release (every half year).

0 commit comments

Comments
 (0)