mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 07:15:49 +00:00
8 lines
265 B
Bash
Executable File
8 lines
265 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -ex
|
|
|
|
./vcpkg/bootstrap-vcpkg.sh
|
|
|
|
cmake . -B bin $1 -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-O3 -g -Wl,-z,norelro -Wl,--hash-style=gnu -Wl,-z,noseparate-code -ffunction-sections -fdata-sections -Wl,--gc-sections" -DBeamMP-Server_ENABLE_LTO=ON
|