Move project definition to the top of CMakeLists.txt
Fixes #42
Adapt FindSFML.cmake for Mageia
Check for cegui-0 and CEGUIBase-0 in priority, since these are the upstream names for CEGUI 0.8.x
This prevents inadvertly building against CEGUI 0.7.x if it is installed on the system.
The unused FindCEGUIOGRE.cmake script has been removed, since we search for CEGUIOgre in the FindCEGUI.cmake script.
Set the proper C++11 flag in CMAKE_CXX_FLAGS for MinGW and UNIX
Was tested with GCC 4.9.2 on Linux, but I read the flag defined for Unix should work on Mac with clang.
Drop the hardcoded optimisation flags; those can be defined passing CMAKE_CXX_FLAGS as an argument to cmake or cmake-gui (the C++11 flag is appended to the user-defined flags)
Default build type is RelWithDebInfo and set several build flags
Defined -Wall to get warnings with GCC/MinGW (and maybe clang)
Add some relevant debug info for the MinGW build with -O2 -ggdb0 -gstabs2
Make compilation warnings optional (opt-in)
Use OD-specific variables to handle compilation flags without touching CMAKE_CXX_FLAGS
This makes it easier to redefine flags with an interface such as cmake-gui or ccmake.
The C++11 enabling flag is defined with OD_CXX11_FLAGS and can be overridden.
User-defined optimization and debug flags can be set using OD_OPT_FLAGS.
Force display of the cached value of OD_CXX11_FLAGS
Merge pull request #97 from akien-mga/linux-fixes

Fix definition of the CMAKE_CXX_FLAGS + linux fixes