defgen - Generate .def files for dll compilation

BlitzMax Forums/BlitzMax Programming/defgen - Generate .def files for dll compilation

JoshK(Posted 2007) [#1]
This is a modified version of my BriskVM bcs generator, so it is a little bloated, but it works. It will automatically skip Private sections of sections commented like this:

'-dll
Function MyFunc()
EndFunction
'+dll



You should also have a COMPILE_DLL constant, and add this to the start of each function:

If COMPILE_DLL GCEnter()


ninjarat(Posted 2007) [#2]
O_o .... This is awesome.