Before building on Linux, you need to install the X11 development packages, git, gcc and cmake.
sudo apt install gcc xorg-dev git cmake
sudo dnf install gcc libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel git cmake
sudo pacman -S gcc libx11 git cmake
Before building on FreeBSD.
sudo pkg install gcc cmake git pkgconf xorg
- Download and install cmake from https://cmake.org
- I guess you just install Visual Studio. Or get a compiler some other way.
In the terminal / CMD:
git clone --recursive "https://github.com/ToniLipponen/TML.git"
cd TML
cmake -B build
cmake --build build --config Release
This should build the project into the build directory. In the build directory there is a folder called lib, which contains the library files.