From a7e530e70dcdb756aff0335a655933a2c7411771 Mon Sep 17 00:00:00 2001 From: James R Date: Sun, 26 Dec 2021 16:04:23 -0600 Subject: [PATCH] Add build instructions on linux --- README.md | 38 +++++++++++++++++++++++++++++++++++++- 1 file changed, 37 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 31d62b7..a8ebc2b 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,42 @@ Edit file `C:\Users\\AppData\Local\openvr\openvrpaths.vrpath`, add `"P ![img](https://eiren.cat/ib4_) *Don't forget to double backwards slashes!* +## Building On Linux + +Note: Only for Arch + +Dependencies needed: + vcpkg(Aur), + cmake + +Note: On others + +Dependencies Needed: + git, + g++ + +Run `git clone https://github.com/Microsoft/vcpkg.git` + +Run `./vcpkg/bootstrap-vcpkg.sh` + +### Step One + +Go to the root of the project and `mkdir build` + +### Step Two + +In the terminal run `vcpkg install protobuf` + +### Step Three + +Run `cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=/opt/vcpkg/scripts/buildsystems/vcpkg.cmake` in the terminal + +### Step Four + +Run `cmake --build build/` + +Currently Fails + ## Contributions -By contributing to this project you are placing all your code under MIT or less restricting licenses, and you certify that the code you have used is compatible with those licenses or is authored by you. If you're doing so on your work time, you certify that your employer is okay with this. +By contributing to this project you are placing all your code under MIT or less restricting licenses, and you certify that the code you have used is compatible with those licenses or is authored by you. If you're doing so on your work time, you certify that your employer is okay with this. \ No newline at end of file