From: Pau Garcia i Quiles Date: Mon, 17 Aug 2009 19:54:23 GMT Subject: Re: CMake, was Re: [PATCH 09/11] Add MSVC porting header files. Message-ID: <3af572ac0908171254i539318d0p555a1c622e4d513f@mail.gmail.com> In-Reply-To: <3af572ac0908171251y355a1e2bjf2d10192bc3eca2e@mail.gmail.com> On Mon, Aug 17, 2009 at 9:51 PM, Pau Garcia i Quiles wrote: > On Mon, Aug 17, 2009 at 9:48 PM, Johannes > Schindelin wrote: > >> On Mon, 17 Aug 2009, Pau Garcia i Quiles wrote: >> >>> What about having a CMake build system, which would work on every >>> platform (including cross-compiling), and would produce an appropriate >>> config.h and makefiles/vcproj/Eclipse projects/XCode projects/whatever >>> is fit for each platform? If it's OK to include such a build system >>> upstream, I'm volunteering to implement it. >> >> And reap in another dependency? >> >> First Python, then CMake, what tomorrow?  Is it the month of adding >> dependencies? > > I'd say it's the month of getting problems solved. > > CMake would make git a lot easier to build on Windows, particularly > with Visual C++. Replace autotools with CMake and suddenly you need to > maintain a single build system for every platform and compiler git > supports/will support. That's a sound advantage to me. I forgot to say CMake would be a build-dependency, not a runtime dependency, in case anyone is wondering. More info about CMake: http://www.cmake.org Tutorial: http://www.elpauer.org/stuff/learning_cmake.pdf -- Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer)