2
0
mirror of https://github.com/Alia5/GlosSI.git synced 2024-10-30 15:20:38 +00:00
GlosSI/docs/BUILDING.md
2022-10-02 14:17:28 +02:00

1.4 KiB

Building GlosSI

Windows

Requirements:

In a "Developer Powershell for VS 2022" run:

git submodule init
git submodule update --recursive

.\prebuild.ps1

# Open GlosSI.sln and hit build!
Invoke-Item GlosSI.sln

(Note: It can be the case that the first build fails as there are versioning files created when building. Just hit build again and you should be good to go!)

In addition to the above, you will need to install the required drivers:
ViGEmBusSetup_x64.exe and HidHideMSI.exe
Both of these can be downloaded from ViGEm's website or by use of the download_release_deps.ps1 script.


Linux

Linux support is currently not really implemented.
No guarantees that the build will even work. (It's probably broken)
That said, very limited linux support is planned for the future.
No Guarantees that the build works out! GlosSITarget:

git submodule init
git submodule update --recursive

# build custom fork of SFML
# do not use SFML you might've already installed
./buildSFML.sh 
cd GlosSITarget
cmake -S . -B build
cmake --build build

GlosSIConfig:

TODO