Skip to content

Latest commit

 

History

History
60 lines (43 loc) · 1.06 KB

BUILDING.md

File metadata and controls

60 lines (43 loc) · 1.06 KB

Git submodules

Make sure that git submodules are loaded too.

git pull
git submodule sync --recursive
git submodule update --init --recursive

Building

Windows

These instructions assume using bash that comes with "git for windows", but is not mandatory to the build itself.

Prepare build directory.

mkdir build ; cd build

Configure the project.

cmake ..

Open VS solution or build everything.

cmake --build . --config RELWITHDEBINFO

Linux

These instructions apply to debian-based distributions (eg. ubuntu). It may work on other distributions with little changes.

Install required packages.

sudo apt install xorg-dev libwayland-dev libxkbcommon-dev libpulse-dev libasound2-dev nasm libssl-dev

Prepare build directory.

mkdir build ; cd build

Configure the project.

cmake -DCMAKE_BUILD_TYPE=RELWITHDEBINFO ..

Build.

cmake --build . -- -j8 # 8 is number of processor cores

Converting Assets

Run cage-asset-database. You may find it in build/result/relwithdebinfo.