[Jmatlink-commitlog] jmatlink build.xml,1.1,1.2
Brought to you by:
st_mueller
|
From: Stefan M. <st_...@us...> - 2005-10-30 17:28:53
|
Update of /cvsroot/jmatlink/jmatlink In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6593 Modified Files: build.xml Log Message: added task to compile c-file to dll Index: build.xml =================================================================== RCS file: /cvsroot/jmatlink/jmatlink/build.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** build.xml 27 Oct 2005 14:13:40 -0000 1.1 --- build.xml 30 Oct 2005 17:28:45 -0000 1.2 *************** *** 22,25 **** --- 22,42 ---- <!-- ================================================================= --> + <!-- C O M P I L E --> + <!-- ================================================================= --> + <target name="compile" depends="env"> + + <!-- compile object file --> + <exec executable="bcc32" dir="${build.src}/jmatlink/" > + <arg line="-Ic:\j2sdk1.4.2_06\include -Ic:\j2sdk1.4.2_06\include\Win32 -c -3 -a8 -w- -b -g30 -Ic:\bcc\INCLUDE -oJMatLink.obj -IC:\MATLAB6p5\extern\include -IC:\MATLAB6p5\simulink\include -O1 -DNDEBUG JMatLink.c"/> + </exec> + + <!-- link object file to DLL --> + <exec executable="bcc32" dir="${build.src}/jmatlink/" > + <arg line="-DLL -eJMatLink.dll -tWD -Lc:\bcc\lib\32bit -Lc:\bcc\lib -LC:\MATLAB6p5\extern\lib\win32\borland\bc50 libmx.lib libmat.lib libeng.lib JMatLink.obj" /> + </exec> + + </target> + + <!-- ================================================================= --> <!-- R E L E A S E --> <!-- ================================================================= --> |