2024-02-09 00:01:12 +01:00
|
|
|
#!/bin/bash -e
|
2020-04-20 20:18:40 +02:00
|
|
|
|
2022-05-06 22:17:16 +02:00
|
|
|
cmake -B build \
|
|
|
|
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE:-Debug} \
|
2024-02-09 00:01:12 +01:00
|
|
|
-DENABLE_LTO=FALSE \
|
2022-05-06 22:17:16 +02:00
|
|
|
-DRUN_IN_PLACE=TRUE \
|
|
|
|
-DENABLE_GETTEXT=${CMAKE_ENABLE_GETTEXT:-TRUE} \
|
|
|
|
-DBUILD_SERVER=${CMAKE_BUILD_SERVER:-TRUE} \
|
|
|
|
${CMAKE_FLAGS}
|
|
|
|
|
2022-02-01 01:42:24 +01:00
|
|
|
cmake --build build --parallel $(($(nproc) + 1))
|