This repo contains a bunch of cmake files that can be used to build xenia with CMake.
git clone https://github.com/bwrsandman/xenia.cmake.git
cd xenia.cmake
git submodule update --init --recursive
cmake -S . -B cmake-build-debug
I try to maintain this repo when I can, but I have a full time job which makes it a bit difficult. I will gladly accept any pull requests updating to the latest xenia, fixing bugs, improving support, etc.
This project is setup to be included a few different ways.
The project can be included in CMake-based IDEs such as clion.
The project can use system-installed third-party packages by
using find_package
before including third-party scripts with targets of the
same name.
- Tested on clion with clang 9 on linux.
- Option to compile libraries as shared or static.
- Compiles xenia, tests & apps.
Probably! This project needs to be updated if a dependency is added or the xenia build system changes. The xenia repository is very active but these types of changes are rare. New apps and tests have to be added manually as well, but not doing so will merely result in those executables not showing up and won't break anything else.
- Support GCC.
- Support MSVC.
- Support Windows.
- Support Xenia's Linux Branch.