diff options
author | Volker Grabsch <vog@notjusthosting.com> | 2011-03-18 00:09:03 (GMT) |
---|---|---|
committer | Volker Grabsch <vog@notjusthosting.com> | 2011-03-18 00:09:03 (GMT) |
commit | 76ca6218a62dda972586fcf9d71e14612cea75f9 (patch) | |
tree | e69f2fdfd3c4380ed4bae08e22a2455d16e7f88f /doc/index.html | |
parent | 7cc53d3f96340a9db6c74071eb552d440a1f1c97 (diff) | |
download | mxe-76ca6218a62dda972586fcf9d71e14612cea75f9.zip mxe-76ca6218a62dda972586fcf9d71e14612cea75f9.tar.gz mxe-76ca6218a62dda972586fcf9d71e14612cea75f9.tar.bz2 |
add notes about CMake to the tutorial
Diffstat (limited to 'doc/index.html')
-rw-r--r-- | doc/index.html | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/doc/index.html b/doc/index.html index f57ac9f..499c0eb 100644 --- a/doc/index.html +++ b/doc/index.html @@ -346,7 +346,16 @@ If a cross compiler is detected then cross compile mode will be used.</pre> Everything will be just fine. </p> - <h3>Step 5b: Cross compile your Project (Qt)</h3> + <h3>Step 5b: Cross compile your Project (CMake)</h3> + + <p> + If you have a + <a href="http://www.cmake.org/">CMake</a> project, + you can use the provided toolchain file: + </p> + <pre>cmake ... -DCMAKE_TOOLCHAIN_FILE=/<em>where mingw-cross-env is installed</em>/usr/<span class="target">i686-pc-mingw32</span>/share/cmake/mingw-cross-env-conf.cmake</pre> + + <h3>Step 5c: Cross compile your Project (Qt)</h3> <p> If you have a @@ -367,7 +376,7 @@ make</pre> are built-in, <em>not</em> plugins. </p> - <h3>Step 5c: Cross compile your Project (Makefile)</h3> + <h3>Step 5d: Cross compile your Project (Makefile)</h3> <p> If you have a handwritten Makefile, @@ -389,7 +398,7 @@ PKG_CONFIG=$(CROSS)pkg-config</pre> That's it! </p> - <h3>Step 5d: Cross compile your Project (OSG)</h3> + <h3>Step 5e: Cross compile your Project (OSG)</h3> <p> Using static OpenSceneGraph libraries requires a few changes to your source. |