Hedgewars: Move platform specific instructions
completed by: Michael Rawson
mentors: koda, Andrey Korotaev, Xeli, Sheepy
[IMAGE http://gci.copyleftgames.org/img/icons/hedgewars.png]
[IMAGE http://gci.copyleftgames.org/img/icons/cmake.png]
Remember to join our IRC channel when working on this task! We are on #hedgewars at freenode.net. If you are new to IRC, read this tutorial from a past GCI participant.
Your task
CMake is our build structure: inside every CMakeLists.txt you can find a list of files to be compiled and a given set of options. Very powerful, opensource and crossplatform, visit www.cmake.org to read documentation.
A lot of platform-specific configuration is done scattered throughout our CMakeLists.txt. Your task is to gather up all the sections that deal with platform specific configuration and move them to a single external module file.
Deliverable
A working patch, that applies cleanly to our source tree. This patch should be in the form of a pull from clone, hg export
or unified diff format (in order of preference) implementing the functionality required.