summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 26b62df)
raw | patch | inline | side by side (parent: 26b62df)
author | jaspervdg <jaspervdg@users.sourceforge.net> | |
Fri, 8 Aug 2008 20:27:55 +0000 (20:27 +0000) | ||
committer | jaspervdg <jaspervdg@users.sourceforge.net> | |
Fri, 8 Aug 2008 20:27:55 +0000 (20:27 +0000) |
build.xml | patch | blob | history |
diff --git a/build.xml b/build.xml
index 05ea97f109f381b1cc8dab9de52fde01b4a839f2..879ca93823de249577744c1ce9191a480ee6e05a 100644 (file)
--- a/build.xml
+++ b/build.xml
</excludeinc>
<flags>
-Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch
- -O2
+ -O2
-mms-bitfields
</flags>
<defines>
</flags>
</rc>
<link command="${arch}g++" out="${build}/inkscape.exe"
- strip="false" symfile="${build}/inkscape.dbg"
+ strip="true" symfile="${build}/inkscape.dbg"
stripcommand="${archutil}strip"
objcopycommand="${archutil}objcopy">
<flags>
- -mconsole
+ -mwindows
</flags>
<fileset dir="${build}">
<include name="inkres.o"/>
<!--
########################################################################
- ## T A R G E T : D I S T - C X X T E S T S
+ ## T A R G E T : C H E C K
########################################################################
-->
- <target name="dist-cxxtests" depends="linkcxxtests,distbase"
- description="copy cxxtests to the distribution directory">
-
- <!-- Create the distribution directory -->
- <copy todir="${dist}" file="${build}/cxxtests.exe"/>
- <copy todir="${dist}" file="${build}/cxxtests.dbg"/>
+ <target name="check" depends="linkcxxtests,distbase"
+ description="perform unit tests">
+ <cxxtestrun command="${build}/cxxtests" workingdir="${dist}" />
</target>
<!--
########################################################################
- ## T A R G E T : D I S T - A L L - E X T R A
+ ## T A R G E T : D I S T - A L L - C H E C K
########################################################################
-->
- <target name="dist-all-extra" depends="dist-all,dist-cxxtests"
- description="generate the distribution, along with inkview and cxxtests" >
+ <target name="dist-all-check" depends="dist-all,check"
+ description="generate the distribution, along with inkview and run cxxtests" >
</target>