mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-16 18:05:22 +02:00
Use CMake's -B, --build, and --install options
This commit is contained in:
@@ -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))
|
||||
|
Reference in New Issue
Block a user