Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add instructions to build on Windows using LLVM MinGW from powershell/cmd #5180

Merged
merged 1 commit into from
Oct 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 23 additions & 6 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,12 @@ and unpack the archive into the `stk-code` directory. Download `i686` if you use

*Note: To avoid confusion between releases and versions, refer to this table:*

Visual Studio Release | Version
----------------------|------------
Visual Studio 2019| 16
Visual Studio 2017| 15
Visual Studio 2015| 14
Visual Studio 2013| 13
| Visual Studio Release | Version |
| --------------------- | ------- |
| Visual Studio 2019 | 16 |
| Visual Studio 2017 | 15 |
| Visual Studio 2015 | 14 |
| Visual Studio 2013 | 13 |

## Building SuperTuxKart on Windows (from PowerShell/Command line)

Expand Down Expand Up @@ -226,6 +226,23 @@ and unpack the archive into the `stk-code` directory. Download `i686` if you com
C:\llvm-mingw\ninja.exe
```

### Building SuperTuxKart on Windows using LLVM MinGW (from PowerShell/Command line)

Do the above steps 1 to 6 to setup the required dependencies.

7. Once inside the build directory; run CMake to start the compilation process:

```cmd
cmake .. -G Ninja -DLLVM_ARCH="x86_64" -DLLVM_PREFIX=C:\llvm-mingw -DCMAKE_MAKE_PROGRAM=C:\llvm-mingw\ninja.exe -DUSE_WIIUSE=OFF -DCMAKE_TOOLCHAIN_FILE="../cmake/Toolchain-llvm-mingw.cmake"
```

2. Now that CMake finished configuring and creating the necessary files for the build, run the build command in the same directory:

```cmd
C:\llvm-mingw\ninja.exe
```


SuperTuxKart can now be run as `bin\supertuxkart.exe`.

## Building SuperTuxKart on macOS
Expand Down
Loading