diff --git a/README.md b/README.md index 9f2e5d5..cbb0b49 100644 --- a/README.md +++ b/README.md @@ -17,3 +17,39 @@ 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 \ No newline at end of file