diff --git a/com.amd.aparapi.jni/build.xml b/com.amd.aparapi.jni/build.xml index 55c4a9dbcf64ddfba0b1090ed91ad1282ac98f86..f9a3529aef85e4af3500127daaccce116573b16c 100644 --- a/com.amd.aparapi.jni/build.xml +++ b/com.amd.aparapi.jni/build.xml @@ -193,7 +193,6 @@ You should not have to edit this file. First consider editing the properties in </or> </condition> - <property name="cl" value="${msvc.dir}\vc\bin\${optional.amd64.subdir}cl.exe" /> <available file="${msvc.dir}\vc\bin\${optional.amd64.subdir}cl.exe" type="file" property="cl.exists" /> @@ -314,7 +313,7 @@ You should not have to edit this file. First consider editing the properties in <target name="msvc" if="use.msvc"> - <exec executable="${cl}"> + <exec executable="${msvc.dir}\vc\bin\${optional.amd64.subdir}cl.exe"> <env key="PATH" path="${env.PATH};${msvc.dir}\\Common7\\IDE" /> <arg value="/nologo" /> <arg value="/TP" /> @@ -325,14 +324,8 @@ You should not have to edit this file. First consider editing the properties in <arg value="/I${java.home}\..\include\win32" /> <arg value="/Iinclude" /> <arg value="/I${amd.app.sdk.dir}\include" /> - <arg value="/c" /> <arg value="src\cpp\aparapi.cpp" /> - </exec> - <exec executable="${cl}"> - <env key="PATH" path="${env.PATH};${msvc.dir}\\Common7\\IDE" /> - <arg value="/nologo" /> <arg value="/LD" /> - <arg value="aparapi.obj" /> <arg value="/link" /> <arg value="/libpath:${msvc.dir}\vc\lib\${optional.amd64.subdir}" /> <arg value="/libpath:${msvc.sdk.dir}\lib\${optional.x64.subdir}" />