mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-16 13:23:26 +00:00
clone commandline if not exists
This commit is contained in:
@@ -2,6 +2,10 @@
|
|||||||
|
|
||||||
set -ex
|
set -ex
|
||||||
|
|
||||||
git submodule update --init --recursive
|
if [ -ne ./deps/commandline/CMakeLists.txt ]
|
||||||
|
then
|
||||||
|
rm -rf deps/commandline
|
||||||
|
git clone https://github.com/lionkor/commandline/ deps/commandline
|
||||||
|
fi
|
||||||
|
|
||||||
cmake ${1:-.} -B bin -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -s -Wl,-z,norelro -Wl,--hash-style=gnu -Wl,--build-id=none -Wl,-z,noseparate-code -ffunction-sections -fdata-sections -Wl,--gc-sections" -DBeamMP-Server_ENABLE_LTO=ON || cat "$SOURCE"/server/bin/vcpkg-bootstrap.log
|
cmake ${1:-.} -B bin -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -s -Wl,-z,norelro -Wl,--hash-style=gnu -Wl,--build-id=none -Wl,-z,noseparate-code -ffunction-sections -fdata-sections -Wl,--gc-sections" -DBeamMP-Server_ENABLE_LTO=ON || cat "$SOURCE"/server/bin/vcpkg-bootstrap.log
|
||||||
|
|||||||
Reference in New Issue
Block a user