Building the game - TheXTech/TheXTech GitHub Wiki
To build it, you need to have the next things:
- CMake
- Ninja optionally (to speeds-up the build process)
- Compatible C/C++ compiler (GCC, Clang, MSVC at least 2017, didn't test with 2015, possibly may work)
- Git (required to pull submodules and clone source of dependent libraries to build them in place)
- Optionally: system-wide installed dependencies: SDL2, libFreeImageLite (a modded implementation of the FreeImage), MixerX sound library, AudioCodecs collection of libraries. Having them installed in a system gives a major build speed up. However, it's possible to build all these dependencies in place here with the cost of extra build time being added.
A complete guide for each platform
- Building on Linux or xBSD
- Building on Windows
- Building on macOS
- Building on Haiku
- Building on Emscripten (to run the game in a browser)
- Building for Android
- Building for PS Vita (using homebrew SDK)
- Building for Nintendo Switch (using DevkitPro SDK)
- Building for 3DS (using DevkitPro SDK)
- Building for Wii (using DevkitPro SDK)
- Building for Wii U (using DevkitPro SDK)
Extra
- About repository - Explanation of repository's organizing, mainstream branches, and their roles and about the general development workflow.
- CMake parameters explained - Detailed explanation of available CMake project options.