summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-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