summaryrefslogtreecommitdiffstats
path: root/build.xml
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2010-03-29 20:32:32 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2010-03-29 20:32:32 +0000
commitb8859cd12327c84f5ca8d4bf8614f0d0913d3c25 (patch)
tree76ee4dd5ce608a7e2a10891427114ab77fca9b52 /build.xml
parentwebslicer effects now extends a commom WebSlicer_Effect class (diff)
downloadinkscape-b8859cd12327c84f5ca8d4bf8614f0d0913d3c25.tar.gz
inkscape-b8859cd12327c84f5ca8d4bf8614f0d0913d3c25.zip
Add console helper application based on inkscapec.exe from Jos Hirth,
which provides Unix-like behavior on Windows. (bzr r9254)
Diffstat (limited to 'build.xml')
-rwxr-xr-xbuild.xml24
1 files changed, 21 insertions, 3 deletions
diff --git a/build.xml b/build.xml
index 69a800082..0c895fb56 100755
--- a/build.xml
+++ b/build.xml
@@ -512,9 +512,26 @@
</link>
</target>
+<!--
+ ########################################################################
+ ## T A R G E T : L I N K C O N S O L E
+ ########################################################################
+ -->
+ <target name="linkconsole" depends="compile"
+ description="link console helper">
-
-
+ <link command="${arch}g++" out="${build}/inkscape-console.exe"
+ strip="true" stripcommand="${archutil}strip">
+ <flags>
+ -mconsole
+ -mthreads
+ </flags>
+ <fileset dir="${build}">
+ <include name="obj/winconsole.o"/>
+ </fileset>
+ <libs></libs>
+ </link>
+ </target>
<!--
########################################################################
@@ -792,12 +809,13 @@
## T A R G E T : D I S T - I N K S C A P E
########################################################################
-->
- <target name="dist-inkscape" depends="link,distbase"
+ <target name="dist-inkscape" depends="link,linkconsole,distbase"
description="copy inkscape to the distribution directory">
<!-- Create the distribution directory -->
<copy todir="${dist}" file="${build}/inkscape.exe"/>
<copy todir="${dist}" file="${build}/inkscape.dbg"/>
+ <copy file="${build}/inkscape-console.exe" tofile="${dist}/inkscape.com"/>
</target>