sgl
diff README @ 7:edbfc96fe80d
glut wsys thingy and stuff...
author | John Tsiombikas <nuclear@siggraph.org> |
---|---|
date | Sat, 14 May 2011 08:26:10 +0300 |
parents | |
children | 124195562f7e |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/README Sat May 14 08:26:10 2011 +0300 1.3 @@ -0,0 +1,14 @@ 1.4 +Author: John Tsiombikas 1.5 +Contact: nuclear@member.fsf.org 1.6 + 1.7 +Adding window system modules 1.8 +---------------------------- 1.9 +Window system modules are detected automatically by configure. For this to work, 1.10 +each module must be a single file in src/ called wsys_whatever.c. 1.11 + 1.12 +Somewhere in the module, there must be a comment of the form: /* link-with: 1.13 +whatever */ where the whatever part is passed to the linker, and is also used to 1.14 +determine at compile time if the module should be enabled. 1.15 + 1.16 +Finally the module source code must start by including "config.h", and the rest 1.17 +of it from that point on must be in a big ifdef USE_WSYS_MODULE_WHATEVER block.