summaryrefslogtreecommitdiffstats
path: root/make/build.xml
diff options
context:
space:
mode:
authorKenneth Russel <[email protected]>2006-04-14 16:54:32 +0000
committerKenneth Russel <[email protected]>2006-04-14 16:54:32 +0000
commitbf717a6e0f61b5082a667292b95d89c354c5abad (patch)
tree651c1ae58c93c8d9dccafa6d289b22aef604d086 /make/build.xml
parent29a1884467000971ad90909bca9361df31771e66 (diff)
Added patch from user mabraham on javagaming.org forums for building
on Windows 64-bit git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/trunk@715 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/build.xml')
-rw-r--r--make/build.xml15
1 files changed, 12 insertions, 3 deletions
diff --git a/make/build.xml b/make/build.xml
index 4a1f2d75a..93a988b80 100644
--- a/make/build.xml
+++ b/make/build.xml
@@ -287,13 +287,19 @@
<property name="linker.cfg.id.core" value="linker.cfg.win32.msvc" />
</target>
+ <target name="declare.win32.vc8_x64" if="isVC8_X64">
+ <echo message="Win32.VC8_X64" />
+ <property name="compiler.cfg.id" value="compiler.cfg.win32.msvc" />
+ <property name="linker.cfg.id.core" value="linker.cfg.win32.msvc" />
+ </target>
+
<target name="declare.win32.mingw" if="isMingW">
<echo message="Win32.MingW" />
<property name="compiler.cfg.id" value="compiler.cfg.win32.mingw" />
<property name="linker.cfg.id.core" value="linker.cfg.win32.mingw" />
</target>
- <target name="declare.win32" depends="declare.win32.vc6,declare.win32.vc7,declare.win32.vc8,declare.win32.mingw" if="isWindows">
+ <target name="declare.win32" depends="declare.win32.vc6,declare.win32.vc7,declare.win32.vc8,declare.win32.vc8_x64,declare.win32.mingw" if="isWindows">
<!-- Set platform configuration files. -->
<property name="gl.cfg" value="${config}/gl-win32.cfg" />
<property name="gl.cfg.nsig" value="${config}/gl-win32-nsig.cfg" />
@@ -804,7 +810,10 @@
<linker id="linker.cfg.win32.msvc" name="msvc" incremental="false">
<linkerarg value="/OPT:REF,ICF" /> <!-- enable link-time optimisations -->
<linkerarg value="/SUBSYSTEM:WINDOWS" /> <!-- output is not a console app as uses WinMain entry point -->
- <linkerarg value="/MACHINE:IX86" /> <!-- explicity set target platform -->
+ <linkerarg value="/MACHINE:X86" if="isVC6" /> <!-- explicity set target platform -->
+ <linkerarg value="/MACHINE:X86" if="isVC7" /> <!-- explicity set target platform -->
+ <linkerarg value="/MACHINE:X86" if="isVC8" /> <!-- explicity set target platform -->
+ <linkerarg value="/MACHINE:X64" if="isVC8_X64"/> <!-- explicity set target platform (IX64) -->
<syslibset libs="opengl32, gdi32, user32, kernel32" />
@@ -960,7 +969,7 @@
</antcall>
</target>
- <target name="c.manifest" if="isVC8">
+ <target name="c.manifest" if="isVC8Family">
<!-- exec mt, the Microsoft Manifest Tool, to include DLL manifests in order to resolve the location of msvcr80.dll -->
<exec executable="mt">
<arg value="-manifest"/>