|
|
|
@ -31,8 +31,11 @@ |
|
|
|
|
</and> |
|
|
|
|
</condition> |
|
|
|
|
<!-- condition for x86_64 check --> |
|
|
|
|
<condition property="isx86_64"> |
|
|
|
|
<os arch="x86_64" /> |
|
|
|
|
<condition property="is64bit"> |
|
|
|
|
<or> |
|
|
|
|
<os arch="x86_64" /> |
|
|
|
|
<os arch="amd64" /> |
|
|
|
|
</or> |
|
|
|
|
</condition> |
|
|
|
|
|
|
|
|
|
<condition property="ndk-build-name" value="ndk-build.cmd" else="ndk-build"> |
|
|
|
@ -194,7 +197,7 @@ |
|
|
|
|
<delete file="${bullet.output.dir}/linux/history.xml"/> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="-nativelib-linux-64" if="isLinux,isx86_64"> |
|
|
|
|
<target name="-nativelib-linux-64" if="isLinux,is64bit"> |
|
|
|
|
<echo message="Building Linux version of native bullet"/> |
|
|
|
|
<mkdir dir="${bullet.output.dir}/linux"/> |
|
|
|
|
<cc name="${bullet.linux.compiler}" warnings="severe" debug="${bullet.compile.debug}" link="shared" outfile="${bullet.output.dir}/linux/${bullet.library.name}64" objdir="build/bullet-native64"> |
|
|
|
@ -376,7 +379,7 @@ |
|
|
|
|
<exec executable="${make.linux}" dir="${bullet.folder}"/> |
|
|
|
|
</target> |
|
|
|
|
|
|
|
|
|
<target name="-compile-bullet-sources-linux-64" if="isLinux,isx86_64" unless="haveBulletLibrary64"> |
|
|
|
|
<target name="-compile-bullet-sources-linux-64" if="isLinux,is64bit" unless="haveBulletLibrary64"> |
|
|
|
|
<mkdir dir="build/bullet-base-64"/> |
|
|
|
|
<property location="build/bullet-base-64" name="build64.folder.resolved"/> |
|
|
|
|
<exec executable="${cmake.linux}" dir="${bullet.folder}" failonerror="true"> |
|
|
|
|