Jorge Schrauwen wrote :

It would be awsome to have a build platform thats cross platform like ant but for c(++) I'm not sure that exists though. Never look.

As I have mentioned before, the CMake project seems to be what is needed in that situation, as this software, like autoconf, performs various configuration checks specified in a script file, and then generates a set of Makefile/Project files, depending on the target platform, Unix, Windows, or whatever. On Windows, it can generate project files for any MSVC version, starting from VC6 to VS 2008 (Win32 and Win64). It has very few dependencies, and seems to be used by large projects, notably KDE, and interestingly for the ASF, for the Windows build of PCRE. The PCRE's CMakeLists.txt is IMHO a good starting point to understand various points of interest for a powerful Windows build system for Apache, like configuration variables, dependencies handling, header file generation, dynamic libraries, and even installation generation.

I can volunteer to port Apache 2 to a Cmake based build system for Windows, even though I can't guarantee I can get results very fast due to my current basic knowledge of Cmake, as well as _very_ basic knowledge of the Apache source code arborescence.

If such a thing would be done, what would be in your opinion a good starting point in the Apache repository ? (2.3.0-alpha ? the current 2.2 branch ? trunk ?)

Reply via email to