Skip to content

Latest commit

 

History

History
38 lines (22 loc) · 1.02 KB

BUILDING.md

File metadata and controls

38 lines (22 loc) · 1.02 KB

Building

Prerequisites Linux

Before building on Linux, you need to install the X11 development packages, git, gcc and cmake.

Ubuntu/Debian:

sudo apt install gcc xorg-dev git cmake

RHEL/Fedora:

sudo dnf install gcc libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel git cmake

Arch:

sudo pacman -S gcc libx11 git cmake

Prerequisites FreeBSD

Before building on FreeBSD.
sudo pkg install gcc cmake git pkgconf xorg

Prerequisites Windows

  1. Download and install cmake from https://cmake.org
  2. I guess you just install Visual Studio. Or get a compiler some other way.

Build

In the terminal / CMD:

  1. git clone --recursive "https://github.com/ToniLipponen/TML.git"
  2. cd TML
  3. cmake -B build
  4. 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.