mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-21 18:11:11 +00:00
Use CMake's -B, --build, and --install options
This commit is contained in:
parent
f5e54cd398
commit
24a0f55c9c
6 changed files with 22 additions and 33 deletions
|
@ -1,8 +1,6 @@
|
|||
#! /bin/bash -e
|
||||
|
||||
mkdir build
|
||||
cd build
|
||||
cmake -DCMAKE_BUILD_TYPE=Debug \
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Debug \
|
||||
-DRUN_IN_PLACE=TRUE -DENABLE_GETTEXT=TRUE \
|
||||
-DBUILD_SERVER=TRUE ${CMAKE_FLAGS} ..
|
||||
make -j$(($(nproc) + 1))
|
||||
-DBUILD_SERVER=TRUE ${CMAKE_FLAGS}
|
||||
cmake --build build --parallel $(($(nproc) + 1))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue