diff options
author | Sven Gothel <[email protected]> | 2019-08-18 23:56:42 +0200 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2019-08-18 23:56:42 +0200 |
commit | 5f4292bb8a310489e05a4f3545ae081310a93f72 (patch) | |
tree | af52455ba48c73c6a64eab6f481ff9ac6f65b04b /make/build-test.xml | |
parent | 6f987f16c808242b61263d76bd7d72e148a0af24 (diff) |
Build Update: CMake 2.8.10.2 -> 3.15.2 (Windows + MacOS), Mingw64 4.8.1 -> 8.1.0
Diffstat (limited to 'make/build-test.xml')
-rw-r--r-- | make/build-test.xml | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/make/build-test.xml b/make/build-test.xml index f39f0bf..736a82a 100644 --- a/make/build-test.xml +++ b/make/build-test.xml @@ -579,7 +579,7 @@ chmod 644 ${results}/* \${line.separator} </gluegen> </target> - <target name="junit.test1.c.build" depends="junit.test1i.c.build, junit.test1p1.c.build, junit.test1p2.c.build" unless="build.javaonly" /> + <target name="junit.test1.c.build" depends="junit.test1i.c.build, c.rename.lib.test1.mingw, junit.test1p1.c.build, c.rename.lib.test1p1.mingw, junit.test1p2.c.build, c.rename.lib.test1p2.mingw" unless="build.javaonly" /> <!-- this is the test1 implementation --> <target name="junit.test1i.c.build"> @@ -589,21 +589,21 @@ chmod 644 ${results}/* \${line.separator} <!-- Windows hacks ro make a proper DLL --> <linker id="linker.test1.dll.cfg.id" extends="${linker.cfg.id}"> - <linkerarg value="-Wl,-soname=test1.dll" if="isMingW"/> - <linkerarg value="-Wl,--output=test1.dll" if="isMingW"/> </linker> <c.build c.compiler.src.files="junit.test1i.c.src.files" output.lib.name="test1" compiler.cfg.id="${compiler.cfg.id}" linker.cfg.id="linker.test1.dll.cfg.id"/> + + </target> + <target name="c.rename.lib.test1.mingw" if="isMingW"> + <move file="${build_t.lib}/libtest1.so" tofile="${build_t.lib}/test1.dll" /> </target> <!-- this is a fixed binding to the test1 implementation --> <target name="junit.test1p1.c.build"> <linker id="linker.test1.fixed.cfg.id" extends="${linker.cfg.id}"> - <linkerarg value="-Wl,-soname=Bindingtest1p1.dll" if="isMingW"/> - <linkerarg value="-Wl,--output=Bindingtest1p1.dll" if="isMingW"/> <syslibset dir="${build_t.lib}" libs="test1"/> </linker> @@ -620,12 +620,13 @@ chmod 644 ${results}/* \${line.separator} compiler.cfg.id="${compiler.cfg.id}" linker.cfg.id="linker.test1.fixed.cfg.id"/> </target> + <target name="c.rename.lib.test1p1.mingw" if="isMingW"> + <move file="${build_t.lib}/libBindingtest1p1.so" tofile="${build_t.lib}/Bindingtest1p1.dll" /> + </target> <!-- this is a dynamic lookup binding to the test1 implementation --> <target name="junit.test1p2.c.build"> <linker id="linker.test1.runtime.cfg.id" extends="${linker.cfg.id}"> - <linkerarg value="-Wl,-soname=Bindingtest1p2.dll" if="isMingW"/> - <linkerarg value="-Wl,--output=Bindingtest1p2.dll" if="isMingW"/> </linker> <patternset id="junit.test1p2.c.src.files"> @@ -641,6 +642,9 @@ chmod 644 ${results}/* \${line.separator} compiler.cfg.id="${compiler.cfg.id}" linker.cfg.id="linker.test1.runtime.cfg.id"/> </target> + <target name="c.rename.lib.test1p2.mingw" if="isMingW"> + <move file="${build_t.lib}/libBindingtest1p2.so" tofile="${build_t.lib}/Bindingtest1p2.dll" /> + </target> <!-- |