From 3d42594dff3dfffd4c9de80c743ee387b0e403f4 Mon Sep 17 00:00:00 2001 From: jaspervdg Date: Tue, 1 Jul 2008 18:18:32 +0000 Subject: [PATCH] CxxTest unit tests can now be built on Windows, also adds CxxTest versions of most UTEST unit tests. (These new CxxTest tests are not part of make check on Linux yet.) --- build.xml | 156 +++++++++++++- buildtool.cpp | 221 +++++++++++++++++++- src/display/bezier-utils-test.h | 347 ++++++++++++++++++++++++++++++++ src/helper/units-test.h | 88 ++++++++ src/xml/quote-test.h | 59 +++++- src/xml/repr-action-test.h | 74 ++++++- 6 files changed, 932 insertions(+), 13 deletions(-) create mode 100644 src/display/bezier-utils-test.h create mode 100644 src/helper/units-test.h diff --git a/build.xml b/build.xml index fdbc3c2e7..0355b98bc 100644 --- a/build.xml +++ b/build.xml @@ -53,6 +53,7 @@ + @@ -189,12 +190,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -208,7 +287,8 @@ - + + @@ -222,7 +302,7 @@ - + @@ -240,14 +320,17 @@ + - + + + - + @@ -299,6 +382,7 @@ ${pcc.poppler} -I${devlibs}/include/gc ${pcc.libwpg-0.1} ${pcc.libwpg-stream-0.1} + -I${cxxtest} @@ -323,6 +407,14 @@ + + + + + + + + @@ -453,6 +545,52 @@ + + + + + + + + + + + + + + + + + + -L${devlibs}/lib + ${pcl.poppler-cairo} ${pcl.poppler-glib} ${pcl.poppler} + ${pcl.gtkmm-2.4} ${pcl.pangoft2} ${pcl.gthread-2.0} + ${devlibs}/bin/libxml2.dll + ${devlibs}/bin/libxslt.dll + ${pcl.cairo} ${pcl.cairomm-1.0} + ${pcl.libwpg-0.1} ${pcl.libwpg-stream-0.1} + ${devlibs}/lib/iconv.lib + ${pcl.ImageMagick++} + ${pcl.fontconfig} ${pcl.freetype2} + -lssl -lcrypto + ${pcl.lcms} + ${pcl.gsl} + -lpng -ljpeg.dll -ltiff.dll -lpopt ${devlibs}/lib/zdll.lib + -lgc + -lws2_32 -lintl -lgdi32 -lcomdlg32 -lm + + + + +