Development: dllDescriptionTask to build a windows dynamic link library for use with JNI using MinGW. ParametersThis task supports the following parameters.
Nested ElementsThis task supports the following nested elements. includedirUsed to specify a directory containing header files to include.
dependsUsed to specify a single file dependency. The task only starts the compiler if the source is newer than the output DLL. However if you use include files you will have to add them manually as a dependency (as in good old "make" times).
Examples<dll mingwdir="c:\mingw" source="mydll.c" output="mydll.dll"> <depends path="mydll.h"/> <includedir path="include"/> <includedir path="include/win32"/> <dll> |