mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 11:33:44 +01:00
87472150bc
Co-authored-by: sfan5 <sfan5@live.de>
11 lines
268 B
Bash
Executable File
11 lines
268 B
Bash
Executable File
#! /bin/bash -e
|
|
|
|
cmake -B build \
|
|
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Debug} \
|
|
-DRUN_IN_PLACE=TRUE \
|
|
-DENABLE_GETTEXT=${CMAKE_ENABLE_GETTEXT:-TRUE} \
|
|
-DBUILD_SERVER=${CMAKE_BUILD_SERVER:-TRUE} \
|
|
${CMAKE_FLAGS}
|
|
|
|
cmake --build build --parallel $(($(nproc) + 1))
|