This is a simple wrapper to cpp and lslint to allow one to use #include and #define directives in LSL Template files (.lst) and produce .lsl scripts.
These forums are CLOSED. Please visit the new forums HERE
lslmake |
|
Major Senior
Registered User
Join date: 12 Apr 2006
Posts: 104
|
10-12-2006 06:39
First release of lslmake: https://lepercolony.ocgnet.org/wiki/lslmake
This is a simple wrapper to cpp and lslint to allow one to use #include and #define directives in LSL Template files (.lst) and produce .lsl scripts. |
Darkside Eldrich
Registered User
Join date: 10 Feb 2006
Posts: 200
|
11-08-2006 14:54
Finally got around to trying this out, and it's not working. I've got a .lst including several .lsh files, just to keep a script manageable... it complains that symbols in the .lsh files are undeclared, however.
The odd thing is that it reaches the lslint phase without error... so theoretically, those #defines have been processed. Also, does the -I flag actually do anything useful? I have a lib directory with things like a trim.lsh, and it'd be nice to lslmake -I libdir and then just #include "trim.lsh" |