Initial dirty commit of old code into git
This commit is contained in:
commit
5546f26619
1985 changed files with 255900 additions and 0 deletions
66
etc/lwjgl-2.9.1/platform_build/windows_ant/build.xml
Normal file
66
etc/lwjgl-2.9.1/platform_build/windows_ant/build.xml
Normal file
|
@ -0,0 +1,66 @@
|
|||
<?xml version="1.0"?>
|
||||
|
||||
<project name="lwjgl native code, native code" basedir="../../bin/lwjgl" default="compile">
|
||||
<property name="native" location="../../src/native"/>
|
||||
<property environment="env"/>
|
||||
<property name="sdkhome" location="${env.MSSDK}"/>
|
||||
|
||||
<target name="compile_dir">
|
||||
<apply dir="." failonerror="true" executable="cl" dest="." skipemptyfilesets="true" parallel="true">
|
||||
<arg line="/c /W2 /EHsc /Ox /Gy /MT /MP /nologo"/>
|
||||
<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${native}\common\opengl"/>
|
||||
<arg value="/I${native}\windows"/>
|
||||
<arg value="/I${native}\windows\opengl"/>
|
||||
<srcfile/>
|
||||
<fileset dir="${native}/common" includes="*.c"/>
|
||||
<fileset dir="${native}/common/opengl" includes="*.c"/>
|
||||
<fileset dir="${native}/generated/openal" includes="*.c"/>
|
||||
<fileset dir="${native}/generated/opencl" includes="*.c"/>
|
||||
<fileset dir="${native}/generated/opengl" includes="*.c"/>
|
||||
<fileset dir="${native}/windows" includes="*.c"/>
|
||||
<fileset dir="${native}/windows/opengl" includes="*.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:${sdkhomelib}"/>
|
||||
<arg value="/OPT:REF"/>
|
||||
<arg value="/OPT:ICF"/>
|
||||
<arg line="/DLL /DELAYLOAD:jawt.dll ${libs}"/>
|
||||
<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">
|
||||
<condition property="sdkhomelib" value="${sdkhome}\lib" else="${sdkhome}\lib\x64">
|
||||
<equals arg1="${os.arch}" arg2="x86"/>
|
||||
</condition>
|
||||
<condition property="dllname" value="lwjgl.dll" else="lwjgl64.dll">
|
||||
<equals arg1="${os.arch}" arg2="x86"/>
|
||||
</condition>
|
||||
<echo message="${sdkhomelib}"/>
|
||||
<property name="libs" value="Kernel32.lib ole32.lib OpenGL32.Lib Version.lib user32.lib Gdi32.lib Advapi32.lib jawt.lib delayimp.lib winmm.lib Comctl32.lib"/>
|
||||
<antcall target="compile_dir"/>
|
||||
<antcall target="link"/>
|
||||
</target>
|
||||
</project>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue