mirror of
https://github.com/davidallendj/gdpm.git
synced 2025-12-19 19:17:01 -07:00
Simplified README.md and added ninja build info
This commit is contained in:
parent
aebd86b70a
commit
62bb8fabdf
1 changed files with 7 additions and 4 deletions
11
README.md
11
README.md
|
|
@ -177,17 +177,20 @@ And then build the binaries (check the "build" directory):
|
|||
|
||||
```bash
|
||||
# Start by cloning the repo, then...
|
||||
git clone https://github.com/davidallendj/gdpm
|
||||
git clone https://github.com/davidallendj/gdpm && cd gdpm
|
||||
cd gdpm
|
||||
export project_root=${pwd}
|
||||
|
||||
# ... if using CMake with Ninja instead (preferred and tested)...
|
||||
cmake -B build -S . -D CMAKE_EXPORT_COMPILE_COMMANDS=1 -D CMAKE_BUILD_TYPE=Release -G Ninja
|
||||
ninja -C build -j$(nproc)
|
||||
|
||||
# ...if using Meson with Clang on Linux...
|
||||
meson build
|
||||
meson configure build # only needed if reconfiguring build
|
||||
meson compile -C build -j$(nproc)
|
||||
CXX=clang++ meson compile -C build -j$(npoc)
|
||||
CXX=clang++ meson compile -C build -j$(nproc)
|
||||
|
||||
# ...if using CMake on Linux (needs work!)...
|
||||
# ...if using CMake with Make on Linux (needs work!)...
|
||||
cd build
|
||||
cmake ..
|
||||
make -j$(nproc)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue