Skip to content

Latest commit

 

History

History
26 lines (26 loc) · 8.84 KB

CONFIGURE.md

File metadata and controls

26 lines (26 loc) · 8.84 KB
Setting Description Values Default
LIBAROMA_PLATFORM Mandatory. Sets the target platform. linux, sdl, sdl2 none
LIBAROMA_FEATURE_CPU Enables the specified CPU feature. Compiler must support it. neon, ssse3, none none
LIBAROMA_COMPILE_WARN Sets warnings level when building. all, some, none some
LIBAROMA_COMPILE_WARNERROR Treat warnings as errors when building. yes, no no
LIBAROMA_COMPILE_SHOWINFO Show detailed build information. yes, no no
LIBAROMA_COMPILE_NOCONSOLE (Windows only) Disables console output for the library and test application. yes, no no
LIBAROMA_COMPILE_PIC Sets whether to build position independent code. yes, no yes
LIBAROMA_LIBDEPENDS Sets extra library dependencies to link when building. For example, to build using Debian's Freetype you must pass the following: LIBAROMA_LIBDEPENDS= -lbrotlidec -lbrotlicommon -l<name> empty
LIBAROMA_DEBUG_ENABLE Enables builing the library with debug symbols. yes, no no
LIBAROMA_DEBUG_PRINTLEVEL Sets the verbosity level of the library logger. Can be a number between 0 and 7, being: 0= no log at all 1= print errors 2= print information 3= print extra info (almost unused) 4= print warnings 5= print verbose info 6= print parsed input events 7= print raw input events 0, 1, 2, 3, 4, 5, 6, 7 3
LIBAROMA_DEBUG_SHOWFILE Enables to show the source filename of the function that printed anything (according to PRINTLEVEL). Setting to "withline" enables showing the line number of the printed function call. yes, no, withline no
LIBAROMA_DEBUG_MEMTRACKER Enables memory tracker, useful to detect memory leaks. Not tested. yes, no no
LIBAROMA_FEATURE_JPEG Enables JPEG support. libjpeg must be installed. yes, no no
LIBAROMA_FEATURE_HARFBUZZ Enables using Harfbuzz as text shaping helper. Freetype MUST have been built with Harfbuzz support. yes, no no
LIBAROMA_FEATURE_SVG Enables embedded SVG support. yes, no yes
LIBAROMA_FEATURE_OPENMP Enables using OpenMP for parallel loops. OpenMP must be installed or included in the compiler (most times it's there). yes, no yes
LIBAROMA_FEATURE_MINZIP Enables ZIP support embedded library. yes, no yes
LIBAROMA_INSTALL_PREFIX Sets the folder where the library will be installed. whatever path you want /usr
LIBAROMA_AR Program to be used for archiving. Only used when building static library. whatever program you use ar
LIBAROMA_CC Compiler to be used for building the source. whatever compiler you use gcc
LIBAROMA_RANLIB Program to be used for indexing the library. Only used when builing static library. whatever program you use ranlib
LIBAROMA_MKDIR Command to be used for creating folders. Must include any arguments to create parent folders, if needed. whatever command you use mkdir -p
LIBAROMA_RM Command to be used for deleting the built files. Must include any argument to delete subdirectories, if needed. whatever command you use rm -rf
LIBAROMA_TTY_KDSETMODE Linux platform only: at startup, sets KDSETMODE to KD_GRAPHICS on the specified TTY via an ioctl. tty number not set