summaryrefslogtreecommitdiff
path: root/doc/testing.txt
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2011-12-31 16:02:55 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2011-12-31 16:02:55 (GMT)
commit3d686118bbced68f9a9af69339e2998b28139756 (patch)
treea067a65ed67d0afd06f1ad02c86e8d11924f01d6 /doc/testing.txt
parent7a044adfb8f7d9a1e64b72fb9a4a873b0449e4f6 (diff)
enable linux->mingw32 cross-compilation of tests
Diffstat (limited to 'doc/testing.txt')
-rw-r--r--doc/testing.txt11
1 files changed, 10 insertions, 1 deletions
diff --git a/doc/testing.txt b/doc/testing.txt
index a50c95f..c0edc6f 100644
--- a/doc/testing.txt
+++ b/doc/testing.txt
@@ -10,7 +10,7 @@ $ cd tests
$ cmake .
$ make
-Windows:
+Windows + MSVC:
First, get a normal build working by following instructions at
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual/Building_on_Windows
@@ -22,6 +22,15 @@ Then, from the QT command prompt:
> cmake .
> nmake -f Makefile
+Cross compiling Linux->Windows:
+
+Follow the instructions for cross-compiling with qmake at
+http://en.wikibooks.org/wiki/OpenSCAD_User_Manual
+
+$ cd tests
+$ cmake . -DMINGW_CROSS_ENV_DIR=<mingw dir> -DCMAKE_TOOLCHAIN_FILE=CMingw-env-cross.cmake
+$ make
+
B) Running tests
$ ctest Runs tests enabled by default
contact: Jan Huwald // Impressum