diff options
author | Sven Gothel <[email protected]> | 2008-05-27 03:54:00 +0000 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2008-05-27 03:54:00 +0000 |
commit | fbcbb9ab19b0e2e85250f5e3653c3a3d7bf12e8d (patch) | |
tree | 0a808bcd002d4591baaeea62959414bfb8784e44 /make/build.xml | |
parent | 286d1ba590c385994ece2d897f1e57e2504d3090 (diff) |
Adding customized c.configure target.
Specify your target in ${user.home}/jogl.compiler.xml'
The enables a user to specify the compiler and linker, including all options.
git-svn-id: file:///usr/local/projects/SUN/JOGL/git-svn/svn-server-sync/jogl/branches/JOGL_2_SANDBOX@1642 232f8b59-042b-4e1e-8c03-345bb8c30851
Diffstat (limited to 'make/build.xml')
-rw-r--r-- | make/build.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/make/build.xml b/make/build.xml index 1e67a7cdf..981070dba 100644 --- a/make/build.xml +++ b/make/build.xml @@ -61,6 +61,9 @@ <property name="gluegen.root" value="../../gluegen" /> <import file="${gluegen.root}/make/gluegen-cpptasks.xml" /> + <available file="${user.home}/jogl.compiler.xml" property="jogl.compiler.present"/> + <import file="${user.home}/jogl.compiler.xml" optional="true" /> + <!-- ================================================================== --> <!-- - Base initialization and detection of operating system. @@ -812,7 +815,7 @@ - Compile the native C code for JOGL (and optionally the Cg binding). --> - <target name="c.configure" depends="gluegen.cpptasks.configure.compiler"> + <target name="c.configure" depends="gluegen.cpptasks.configure.compiler" unless="jogl.compiler.present"> <!-- compiler configuration --> <!-- Note that we can use the base setups in the gluegen-cpptasks for most of these --> |