Difference between revisions of "Build with CMake (experimental)"

From X-Moto
Jump to: navigation, search
(Run CMake)
(Options)
 
Line 7: Line 7:
  
 
== Options ==
 
== Options ==
  -DCMAKE_SYSTEM_NAME Windows
+
  -DCMAKE_SYSTEM_NAME=Windows
  -DCMAKE_SYSTEM_NAME Linux
+
  -DCMAKE_SYSTEM_NAME=Linux
 
  -DCMAKE_INSTALL_PREFIX=/tmp/xm
 
  -DCMAKE_INSTALL_PREFIX=/tmp/xm

Latest revision as of 16:17, 10 August 2008

Get svn sources

Create a compilation directory

mkdir builddir
cd builddir

Run CMake

cmake ../trunk

Options

-DCMAKE_SYSTEM_NAME=Windows
-DCMAKE_SYSTEM_NAME=Linux
-DCMAKE_INSTALL_PREFIX=/tmp/xm