runrunrun

This commit is contained in:
inspectredc
2023-09-25 11:57:50 +01:00
parent 4bf5eff88c
commit 762df1106e
+3 -1
View File
@@ -50,7 +50,7 @@ To develop using Visual Studio you only need to use cmake to generate the soluti
1. Copy over the smcube.otr you have generated into the directory containing your executable, e.g. `.\build\x64\Debug`
2. From the GitHub, download the soh.otr and place that in the same directory as you smcube.otr
3. Currently, in order to run this on Windows, you must be using OpenGL instead of DirectX11. Change the `GetWindowBackend()` function in `libultraship\src\window\Window.cpp` to `return WindowBackend::SDL_OPENGL;` before building.
4.
4. Now you can run the executable directly or from Visual Studio
## Linux
Requires `gcc >= 10, x11, sdl2 >= 2.0.22, libpng, ninja, cmake, lld`
@@ -80,6 +80,7 @@ cmake --build build-cmake --target clean
1. Copy over the smcube.otr you have generated into the root directory if the repository
2. From the GitHub, download the soh.otr and place that in the build directory, e.g. `./build-cmake`
3. Now you can run the executable directly or from Visual Studio Code
## macOS
Requires Xcode (or xcode-tools) && `ninja, cmake` (can be installed via homebrew, macports, etc)
@@ -107,3 +108,4 @@ cmake --build build-cmake --target clean
1. Copy over the smcube.otr you have generated into the root directory if the repository
2. From the GitHub, download the soh.otr and place that in the build directory, e.g. `./build-cmake`
3. Now you can run the executable directly or from Visual Studio Code