2021-10-31 10:53:27 +00:00
# Building GlosSI
## Windows
Requirements:
2022-10-02 12:17:28 +00:00
- git
2022-01-06 23:38:21 +00:00
- Visual Studio 2022 (Community edition is fine)
2022-10-02 12:17:28 +00:00
- [Qt 6.X ](https://www.qt.io/download-qt-installer ) (GlosSIConfig only)
- [Qt Visual Studio addin ](https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools2022 ) (GlosSIConfig only)
In a "Developer Powershell for VS 2022" run:
2021-10-31 10:53:27 +00:00
2022-03-06 16:50:19 +00:00
```powershell
2022-10-02 12:17:28 +00:00
git submodule init
git submodule update --recursive
2022-03-06 16:50:19 +00:00
.\prebuild.ps1
2021-10-31 10:53:27 +00:00
2022-03-06 16:50:19 +00:00
# Open GlosSI.sln and hit build!
Invoke-Item GlosSI.sln
2021-10-31 10:53:27 +00:00
```
2022-10-02 12:17:28 +00:00
(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!)
2021-10-31 10:53:27 +00:00
In addition to the above, you will need to install the required drivers:
2022-10-02 12:17:28 +00:00
`ViGEmBusSetup_x64.exe` and `HidHideMSI.exe`
Both of these can be downloaded from [ViGEm's website ](https://vigem.org/Downloads/ ) or by use of the `download_release_deps.ps1` script.
---
2021-10-31 10:53:27 +00:00
## Linux
Linux support is currently not really implemented.
2022-10-02 12:17:28 +00:00
No guarantees that the build will even work. (It's probably broken)
2021-10-31 10:53:27 +00:00
That said, very limited linux support is planned for the future.
No Guarantees that the build works out!
**GlosSITarget:**
```shell
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