With this new build-system for the MaNGOS-Core projects master (/mangos/mangos) and one (/mangos/one) you can revolutionize the build-process of your server.
stable - https://github.com/cipherCOM/mangos/tree/cmake
nightly - https://github.com/cipherCOM/mangos/tree/cmake-dev
This project allows you to compile MaNGOS on your platform with your compiler and even your favorite IDE. This implies generation of project files for Visual Studio, Xcode, CodeBlocks, Eclipse CDT4 and KDevelop3 to name a few and therefore gain the full advantages for software development that each of these tools offer.
It all started with the cumbersome ./configure every time i wanted to set up my MaNGOS distribution. On the Unix-side this step is mandatory, really takes forever and the flood of options didn't make it any easier. I also disliked the idea to debug MaNGOS without any interface for GDB like you got one in Xcode (native IDE for Mac OSX). The windows-side clearly has the superior position when you want to do more than simply compile MaNGOS. But now, you even have the possibility on Unix to compile your server with PCH.
To give you an example on how I use CMake to generate a Xcode project for me, look at the following command:
mangosdir> mkdir build
mangosdir> cd build
build> cmake .. -G Xcode -DPREFIX=/opt/mangos-server -DPCH=1
Note: -G defines your generator, the type of IDE you want to use. Go and look for yourself if your IDE is supported http://www.cmake.org/cmake/help/cmake-2-8-docs.html#section_Generators
Of course, you can also use the GUI of CMake. So there is no need to open your terminal to generate the project files. And if I'm honest, I also use the GUI more often.
So give it a try, see if this CMake project can improve your daily working process with MaNGOS and enables you to try your favorite IDE.
But as with every young project everything is still in development. So I would appreciate if you can give me feedback about the system, new feature requests or errors you encounter so I can improve this system furthermore.
And one side note: The branch of this project also includes the needed sources for CMake to build the widely used scripting library and completely integrates it in the build process. So no more divided project files to compile every part of your server.
Thanks for your time and happy building... cC
And thanks to everyone that helped me so far... be it Funkybit, vladimir, DasBlub, Lynx3d, Zor, NoFantasy ... the list goes on!