- Windows
- Install MSYS2 with
winget install MSYS2.MSYS2, addC:\msys64\clang64\binto PATH - Install Git with
winget install Git.Git
- Install MSYS2 with
- Windows
- Run
dependencies.shfromMSYS2 CLANG64shell - This installs compilers, build tools etc
- Run
- Archlinux
- Run
dependencies.shfrom "THE BASH" - You use Arch BTW, so no spoon feeding for you!
- Run
- Different libraries use different build systems, like
meson,cmake,autotools - External libraries that we use are included as submodules in
./subprojects - All build systems discover installed libraries through
pkgconf - We build the libraries one by one and install them in
./install - These libraries generate pkg-config files in
./install/lib/pkgconfig - Run
./externals.shto build and install these libraries- Run in "THE BASH" on Archlinux
- Run in
MSYS2 CLANG64shell on Windows
- We use a bash script to compile/install external libraries because other ways are painful
- With CMake
- This is a CMake project
- Source files live in
./source, header files live in./include - See
build.shfor the full CMake command
- With Script
- Windows: Run the
./build.shscript fromMSYS2 CLANG64shell (or Git Bash if path hasC:\msys64\clang64\bin) - Archlinux: Run the
./build.shscript in "THE BASH"
- Windows: Run the
- With VSCode
- Install
ms-vscode.cpptools-extension-packextension pack - Press
<Shift+F5>to build the project and attach a debugger
- Install
- Everything 🐍
snake_case - Avoid unnecessary
typedef - Format as per
.clang-format