Skip to content

Commit ea9cc17

Browse files
authored
add building instruction hint for windows
1 parent 35a50b0 commit ea9cc17

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

doc/building.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,14 @@ cmake ..
5555
make -j$(nproc)
5656
```
5757

58+
_Note:_ on windows the last command is
59+
```powershell
60+
cmake --build . --config RelWithDebInfo
61+
```
62+
63+
_Note:_ if nyan can't find flex add `-DFLEX_EXECUTABLE=path/to/win_flex.exe` to the cmake configure command.
64+
65+
5866
`cmake` registers the project in the [user package registry](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#user-package-registry).
5967
Other projects can therefore easily find `nyan` **without** installing it
6068
(no `sudo make install` needed).

0 commit comments

Comments
 (0)