Skip to content

Commit

Permalink
add building instruction hint for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
coco875 authored Aug 13, 2023
1 parent 35a50b0 commit ea9cc17
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions doc/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ cmake ..
make -j$(nproc)
```

_Note:_ on windows the last command is
```powershell
cmake --build . --config RelWithDebInfo
```

_Note:_ if nyan can't find flex add `-DFLEX_EXECUTABLE=path/to/win_flex.exe` to the cmake configure command.


`cmake` registers the project in the [user package registry](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#user-package-registry).
Other projects can therefore easily find `nyan` **without** installing it
(no `sudo make install` needed).
Expand Down

0 comments on commit ea9cc17

Please sign in to comment.