aboutsummaryrefslogtreecommitdiff

How to compile and use

Note: it is early in development and there is no v1!

It is build in a logic of unity-build, so all you need is to provide to a compiler the include folder and link path.

So, for compiling you need to run build.bat / build.sh. Dependencies right now are just bash (build script) and gcc.

It will create include folder and copy all of the headers, create lib folder and put the libs in here.

Usage

  • Don't use *_internal.h files, as they are only for implementation and could add fun things as windows.h

GCC

Basically after running build.sh just compile your code with adding link path and include path.

Arch

sudo pacman -S base-devel

Debian

sudo pacman -S build-essentials

MSVC

Note: Tested on VS2022 with compiler 19.39.33523

Disable these warnings:

/wd4244 /wd5105

Also here are defines:

/D _CRT_SECURE_NO_WARNINGS /D _UNICODE /D UNICODE