summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordon bright <hugh.m.bright@gmail.com>2012-01-01 00:12:44 (GMT)
committerdon bright <hugh.m.bright@gmail.com>2012-01-01 00:12:44 (GMT)
commite222db689d80f90b1313958b8ee95df6080a5143 (patch)
tree7c5656cbf6c69cd84872a2104695c78bfdf4fcab
parent83abde79d4182ad0a29a437769f4d6c108283dd4 (diff)
parent0acf0fee5b60c5fd5ae28767849270b8c2e729c0 (diff)
Merge branch 'mingw_cross_tests' of github.com:openscad/openscad into mingw_cross_tests
-rw-r--r--doc/testing.txt10
1 files changed, 7 insertions, 3 deletions
diff --git a/doc/testing.txt b/doc/testing.txt
index 0ec5649..331b485 100644
--- a/doc/testing.txt
+++ b/doc/testing.txt
@@ -28,12 +28,16 @@ Additional prerequisities: wine, mingw-cross-env
Note: CTest harness will only run under Wine under *nix, not under Win32.
-Follow the instructions for cross-compiling with qmake at
+Follow the instructions for installing the mingw-env cross build system at
http://en.wikibooks.org/wiki/OpenSCAD_User_Manual , especially the part
-about including the cross-compiler in your PATH. Then:
+about including the cross-compiler in your PATH. If you do cross-builds,
+it's recommended to use out-of-source builds (mkdir buildx; cd buildx; cmake ..)
+in order to keep your native *nix build separate from your cross-build.
$ cd tests
-$ cmake . -DMINGW_CROSS_ENV_DIR=<mingw-dir> -DCMAKE_TOOLCHAIN_FILE=CMingw-env-cross.cmake
+$ mkdir build-mingw32
+$ cd build-mingw32
+$ cmake .. -DMINGW_CROSS_ENV_DIR=<mingw-env-dir> -DCMAKE_TOOLCHAIN_FILE=CMingw-env-cross.cmake
$ make
B) Running tests
contact: Jan Huwald // Impressum