X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=build.xml;h=99e221e64662e95b705b4300d8c5fe57c50dcb02;hb=fce046713c4cb905f38bf489cc4a73af425f3037;hp=224892d1ada665ebc6029c40a60b35fc629f15ea;hpb=5ec48800c13563ae3689d679bb063ea5445fb4af;p=inkscape.git diff --git a/build.xml b/build.xml index 224892d1a..99e221e64 100644 --- a/build.xml +++ b/build.xml @@ -31,18 +31,18 @@ ## P R O J E C T : I N K S C A P E ######################################################################## --> - + Build file for the Inkscape SVG editor. This file was written for GTK-2.10 on Win32, but it should work well for other types of builds with only minor adjustments. - Note that the default target is 'dist'. You can execute other + Note that the default target is 'dist-all'. You can execute other targets instead, by "btool {target}", like "btool compile", if - you want to save time. + you want to save time, or "dist-inkscape" if you don't want inkview. - + @@ -52,8 +52,10 @@ - + + + @@ -61,6 +63,9 @@ + + + --> @@ -89,15 +94,22 @@ - - + - - #define INKSCAPE_VERSION "${version}" + + + + namespace Inkscape { + char const *version_string = "${version}"; + } #ifndef _CONFIG_H_ @@ -137,6 +149,7 @@ #define HAVE_STDLIB_H 1 #define HAVE_SYS_STAT_H 1 #define HAVE_INTTYPES_H 1 + #define HAVE_OPENMP 1 #define ENABLE_LCMS 1 @@ -158,8 +171,8 @@ #define WITH_PYTHON 1 /* shared whiteboard */ - #define WITH_INKBOARD 1 - #define HAVE_SSL 1 + #undef WITH_INKBOARD + #undef HAVE_SSL /* use poppler for pdf import? */ #define HAVE_POPPLER 1 @@ -171,25 +184,18 @@ /* Allow reading WordPerfect? */ #define WITH_LIBWPG 1 - #endif /* _CONFIG_H_ */ - - + /* Do we support SVG Fonts? */ + #define ENABLE_SVG_FONTS 1 + /* Do we want experimental, unsupported, unguaranteed, etc., LivePathEffects enabled? */ + #define LPE_ENABLE_TEST_EFFECTS 1 + #define HAVE_ASPELL 1 - - - - - + #endif /* _CONFIG_H_ */ + - - + + @@ -215,19 +223,19 @@ - - + - - @@ -241,7 +249,7 @@ - @@ -249,25 +257,25 @@ - + - - - + template="${src}/cxxtest-template.tpl"> @@ -288,18 +296,19 @@ + continueOnError="true" + refreshCache="${refresh}"> + + - @@ -331,14 +340,12 @@ - - - - + + @@ -369,6 +376,7 @@ -Wall -Wformat -Werror=format-security -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverloaded-virtual -Wswitch -O2 -mms-bitfields + -fopenmp -DVERSION=\"${version}\" @@ -469,7 +477,8 @@ stripcommand="${archutil}strip" objcopycommand="${archutil}objcopy"> - -mwindows + -mconsole + -mthreads @@ -477,6 +486,7 @@ + -L${devlibs}/lib ${pcl.poppler-cairo} ${pcl.poppler-glib} ${pcl.poppler} @@ -494,6 +504,8 @@ -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + -lgomp -lpthreadGC2 -laspell + -lmscms @@ -522,7 +534,8 @@ stripcommand="${archutil}strip" objcopycommand="${archutil}objcopy"> - -mwindows + -mconsole + -mthreads @@ -546,6 +559,8 @@ -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + -lgomp -lpthreadGC2 -laspell + -lmscms @@ -565,6 +580,7 @@ stripcommand="${archutil}strip" objcopycommand="${archutil}objcopy"> + -mthreads @@ -595,6 +611,8 @@ -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib -lgc -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + -lgomp -lpthreadGC2 -laspell + -lmscms @@ -631,6 +649,7 @@ + @@ -659,7 +678,10 @@ + + + @@ -680,6 +702,8 @@ + + @@ -687,6 +711,9 @@ + + + @@ -785,15 +812,12 @@ - - - - - + + @@ -858,11 +882,11 @@ - + @@ -881,7 +905,7 @@ - +