Changes in WidelandsGoingCMake
Editor Comment
Formatting
Revision Differences of Revision 3
# Widelands going CMake ¶¶
Widelands project plans to move from the current build system Scons to CMake. ¶
¶
This page is to track progress and collect important information in the transition process. ¶
¶
## Table of Contents: ¶
[TOC] ¶
¶
¶
¶
## Important Links ¶
¶
* [Scons](http://www.scons.org) ¶
* [CMake](http://www.cmake.org) ¶
* [CMake Tutorial \(PDF\]](http://www-flc.desy.de/ldcoptimization/documents/talks/CMake_Tutorial.pdf) ¶
¶
## Identified Tasks ¶
* *make install* does not exclude SVN directories ¶
* add "PATTERN "\*.svn\*" EXCLUDE" to global CMakeLists.txt file *INSTALL* directive ¶
¶
## Important notes ¶
### Starting with CMake in the transition ¶
#### Preparation ¶
* $ mkdir ~/wl_cmake_transition ¶
* $ cd ~/wl_cmake_transition ¶
* $ svn co https://widelands.svn.sourceforge.net/svnroot/widelands/branches/cmake-migration widelands-cmake ¶
* $ mkdir widelands-build ¶
* $ cd widelands-build ¶
* $ cmake -DCMAKE_INSTALL_PREFIX=~/../widelands-install ../widelands-cmake ¶
* $ make install -j3 ¶
¶
¶
### Using CMake ¶
*