Merge branch 'main' into community-update

This commit is contained in:
Protogen187 2025-03-10 20:11:42 +01:00 committed by GitHub
commit 08b74e1ce6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -49,18 +49,22 @@ In the root directory of the project,
1.
```cmake
cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux
cmake . -B bin -DCMAKE_TOOLCHAIN_FILE=~/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-linux
```
2.
```cmake
cmake --build bin --parallel --config Release
cmake --build bin --parallel
```
!!!note
!!!note ""
Should you run out of RAM while building, you can ommit the --parallel instruction, it will then use less RAM due to building only on one CPU thread.
!!!note ""
By not specifying `-DCMAKE_BUILD_TYPE=Release` you are building a debug version, which is larger in filesize but does not contain the launcher-can-only-connect-to-a-server-once bug
Move the finished application out of the `/bin` folder into its own folder and run it from there
The native linux BeamMP-Launcher will start and use native linux BeamNG.drive