changeset 1674:09e171329238

add notes about CMake to the tutorial
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 18 Mar 2011 01:09:03 +0100
parents 1fd11f5b06b5
children 6005d3f7bf8a
files doc/index.html
diffstat 1 files changed, 12 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/doc/index.html	Thu Mar 17 23:47:39 2011 +0100
+++ b/doc/index.html	Fri Mar 18 01:09:03 2011 +0100
@@ -346,7 +346,16 @@
     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 @@
     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 @@
     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.