Difference between revisions of "Build with CMake (experimental)"
From X-Moto
(→Run CMake) |
|||
Line 4: | Line 4: | ||
cd builddir | cd builddir | ||
== Run CMake == | == Run CMake == | ||
− | + | cmake ../trunk | |
− | + | ||
+ | == Options == | ||
+ | -DCMAKE_SYSTEM_NAME Windows | ||
+ | -DCMAKE_SYSTEM_NAME Linux | ||
+ | -DCMAKE_INSTALL_PREFIX=/tmp/xm |
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