From d1fb67f1f0e210683f7d10bb2b883004059f5a6b Mon Sep 17 00:00:00 2001 From: purified Date: Mon, 5 Aug 2024 21:20:22 +0200 Subject: [PATCH 1/2] Update the Build guide in README Add instructions for building in Release mode Add the reminder to change the vcpkg location Add the reminder to run the commands in the root of the project --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d49e2d2..d6eb813 100755 --- a/README.md +++ b/README.md @@ -2,11 +2,22 @@ The launcher is the way we communitcate to outside the game, it does a few automated actions such as but not limited to: downloading the mod, launching the game, and create a connection to a server. -## How to build +## How to build - Release +In the root directory of the project, +1. `cmake -DCMAKE_BUILD_TYPE=Release . -B bin -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static` +2. `cmake --build bin --parallel --config Release` + +Remember to change `C:/vcpkg` to wherever you have vcpkg installed. + +## How to build - Debug + +In the root directory of the project, 1. `cmake . -B bin -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DVCPKG_TARGET_TRIPLET=x64-windows-static` 2. `cmake --build bin --parallel` +Remember to change `C:/vcpkg` to wherever you have vcpkg installed. + Copyright (c) 2019-present Anonymous275. BeamMP Launcher code is not in the public domain and is not free software. One must be granted explicit permission by the copyright holder in order to modify or distribute any part of the source or binaries, From 2397f45d3ffebbec70cf1d008eee3704f086f374 Mon Sep 17 00:00:00 2001 From: purified Date: Mon, 5 Aug 2024 21:27:14 +0200 Subject: [PATCH 2/2] Add the guide on how to clone the repository with the evpp submodule --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index d6eb813..ee242d9 100755 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ The launcher is the way we communitcate to outside the game, it does a few automated actions such as but not limited to: downloading the mod, launching the game, and create a connection to a server. +**To clone this repository**: `git clone --recurse-submodules https://github.com/BeamMP/BeamMP-Launcher.git` + ## How to build - Release In the root directory of the project,