sgl
view README @ 37:b3374e30361c
xcode project for uikit version, untested
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Wed, 27 Jun 2012 05:15:50 +0300 |
parents | edbfc96fe80d |
children |
line source
1 Author: John Tsiombikas
2 Contact: nuclear@member.fsf.org
4 Adding window system modules
5 ----------------------------
6 Window system modules are detected automatically by configure. For this to work,
7 each module must be a single file in src/ called wsys_whatever.c.
9 Somewhere in the module, there must be a comment of the form: /* link-with:
10 whatever */ where the whatever part is passed to the linker, and is also used to
11 determine at compile time if the module should be enabled.
13 Finally the module source code must start by including "config.h", and the rest
14 of it from that point on must be in a big ifdef USE_WSYS_MODULE_WHATEVER block.
16 Building on windows
17 -------------------
18 If you decide to use the visual studio project files to build sgl, you still
19 need to run the configure script in order to generate config.h and modules.c.
20 Msys or cygwin should do the trick.