libui/buildnotes

44 lines
807 B
Plaintext
Raw Normal View History

HOW TO BUILD
Simply type
make [variables...]
The build-time settings are
OS=xxx
default operating system
supported OSs are
windows
unix
darwin
haiku
this is autodetected by default
CFLAGS=xxx
CXXFLAGS=xxx
LDFLAGS=xxx
compiler flags
this is where you can specify -m32 or -m64, for instance
Objective-C uses $(CFLAGS)
RELEASE=xxx
set to 1 to disable debug symbols
must be 1, any other value means "include debug symbols"
2016-05-14 10:18:53 -05:00
TODO separate debug symbols from debug runtime
2016-01-04 15:00:16 -06:00
PREFIX=xxx
TODO
DESTDIR=xxx
applied before PREFIX; used by Debian
To build the test program use
make [variables....] test
The variables are the same as above.
To build an example, use
make EXAMPLE=name [variables...] example
You must specify the example name.
2015-12-11 19:04:31 -06:00
TODO discuss the internals