Code Search for Developers
 
 
  

build_fmod3.xml from Lightweight Java Game Library at Krugle


Show build_fmod3.xml syntax highlighted

<?xml version="1.0"?>

<project name="fmod3" basedir="../../bin/fmod3" default="compile">
	<property name="native" location="../../src/native"/>
	<property environment="env"/>
	<property name="sdkhome" location="${env.MSSDK}"/>
	<property name="fmodhome" location="${env.FMODHOME}"/>
	<property name="dllname" value="lwjgl-fmod3.dll"/>

	<target name="compile_dir">
		<apply dir="." failonerror="true" executable="cl" dest="." skipemptyfilesets="true">
			<arg line="/Ox /Wp64 /W2 /nologo /Ox /Ob2 /Oi /Ot /Oy /FD /EHsc /MT /Gy /W2 /nologo /c /D WIN32 /c"/>
			<arg value="/I${sdkhome}\include"/>
			<arg value="/I${java.home}\..\include"/>
			<arg value="/I${java.home}\..\include\win32"/>
			<arg value="/I${native}\common"/>
			<arg value="/I${fmodhome}\api\inc"/>
			<srcfile/>
			<fileset dir="${native}/common/fmod3" includes="*.c"/>
			<fileset dir="${native}/common" includes="*common*.c"/>
			<mapper type="glob" from="*.c" to="*.obj"/>
		</apply>
	</target>

	<target name="link">
		<apply dir="." parallel="true" executable="cl" failonerror="true">
			<arg line="/LD /nologo"/>
			<srcfile/>
			<arg line="/Fe${dllname} /link"/>
			<arg value="/LIBPATH:${java.home}\..\lib"/>
			<arg value="/LIBPATH:${sdkhome}\lib"/>
			<arg value="/OPT:REF"/>
			<arg value="/OPT:ICF"/>
			<fileset dir="." includes="*.obj"/>
		</apply>
	</target>

	<target name="clean">
		<delete>
			<fileset dir="." includes="*.obj"/>
			<fileset dir="." includes="*.dll"/>
			<fileset dir="." includes="*.exp"/>
			<fileset dir="." includes="*.lib"/>			
		</delete>
	</target>

	<target name="compile" depends="clean">
		<property name="libs" value="user32.lib Gdi32.lib Advapi32.lib"/>
		<antcall target="compile_dir"/>
		<antcall target="link"/>
    </target>
</project>





See more files for this project here

Lightweight Java Game Library

A Java Game Library extension: 1. Handles the graphics, sound, and input simply 2. Wraps OpenGL, OpenAL, fmod3 and DevIL 3. Hires timers LWJGL currently supports Linux, Mac OS X (10.2 and above) and Windows (98 and above).

Project homepage: http://sourceforge.net/projects/java-game-lib
Programming language(s): C,Java
License: other

  build.xml
  build_devil.xml
  build_fmod3.xml