Hedgewars: Move platform specific instructions
completed by: Michael Rawson
mentors: koda, Andrey Korotaev, Xeli, Sheepy
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.
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.