Skip to content

Commit

Permalink
doc: clarify that ninja is optional and add other potential useful fl…
Browse files Browse the repository at this point in the history
…ags for CMake build (#1768)


---------

Co-authored-by: shenleban tongying <[email protected]>
  • Loading branch information
KonstantinDjairo and shenlebantongying authored Sep 12, 2024
1 parent ac03f31 commit c51c0fd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions website/docs/howto/build_from_source.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,15 @@ Basically, you need those commands:
```shell
cd goldendict-ng && mkdir build_dir
# config step
cmake -S . -B build_dir -G Ninja
cmake -S . -B build_dir
-G "Ninja"/"Unix Makefiles"/"Xcode"... (Optional)
-install-prefix=/usr/local/ (Optional)
-DCMAKE_BUILD_TYPE=Release (Optional)

# actual build
cmake --build build_dir

--parallel 7 (Optional if Ninja was chosen)

cmake --install ./build_dir/
```
Expand Down

0 comments on commit c51c0fd

Please sign in to comment.