Mirror of space-wizards/native-build
Find a file
2025-09-29 17:01:56 +02:00
.github/workflows Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
.vscode Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
freetype@e0d36aa902 Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
glfw@7b6aead9fb Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
openal-soft@dc7d7054a5 Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
scripts Forgot to update this 2025-09-29 17:01:56 +02:00
SDL@96292a5b46 Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
vcpkg@08990a7bac Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
vcpkg-overlay-ports Okay does this fix it ?? 2025-09-28 20:58:58 +02:00
vcpkg-overlay-triplets Lower macOS deployment target to 11 (Big Sur) 2025-09-27 10:30:14 +02:00
zstd@f8745da6ff Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
.containerignore Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
.editorconfig Okay does this fix it ?? 2025-09-28 20:58:58 +02:00
.gitattributes CRLF moment very cool 2025-09-28 19:05:07 +02:00
.gitignore Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
.gitmodules Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
linux-build-env-client-arm64.Containerfile Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
linux-build-env-client.Containerfile Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
linux-build-env-server.Containerfile Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
README.md Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
vcpkg-configuration.json Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00
vcpkg.json Refactor compilation stack (#8) 2025-08-18 22:22:12 +02:00

SS14 Native-Build

A collection of submodules providing dependencies for building Space Station 14 and RobustToolbox.

Building is handled through the Build Natives workflow action and relies on Github's runners to perform the actual compilation. Local building is possible by running your platform's python file under the scripts directory.

Each platform produces an zip file containing all relevant shared libs for it, any debug symbols, and a notes.md giving information on where and what commit the code came from.

Building manually

You should always start by running git submodule update --init to initialize the source code directories.

Note that these instructions will not necessarily allow building "clean" binaries that are suitably shippable to end users. For example, Linux builds are normally ran in a container to have a clean environment.

Windows

Ensure you have the following things installed & available in PATH:

  • MSVC
  • Ninja
  • CMake
  • Python 3

To do the build, open up a command prompt set up for compiling with MSVC (by running e.g. x64 Native Tools Command Prompt for VS 2022) and then run the following commands:

vcpkg/bootstrap-vcpkg.bat
vcpkg/vcpkg.exe install

scripts/windows.py

The built files will be in artifacts/.

macOS

Ensure you have the following things installed & available in PATH:

  • XCode
  • Ninja
  • CMake
  • Python 3

To do the build, open up a terminal and run the following commands:

vcpkg/bootstrap-vcpkg.sh
vcpkg/vcpkg install

scripts/osx.py

The built files will be in artifacts/.

Linux

Ensure you have the following things installed & available in PATH:

  • A crapload of dependencies. Check the docs of the libraries we're using and keep installing -dev packages until it builds.
  • Ninja
  • CMake
  • Python 3

To do the build, open up a terminal and run the following commands:

vcpkg/bootstrap-vcpkg.sh
vcpkg/vcpkg install

scripts/linux-server.py
scripts/linux.py

The built files will be in artifacts/.