From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pau Garcia i Quiles Subject: Re: [PATCH 10/11] Add MSVC Project file Date: Mon, 17 Aug 2009 22:59:25 +0200 Message-ID: <3af572ac0908171359o33f6ca70n599bdc27be74784a@mail.gmail.com> References: <1250525103-5184-1-git-send-email-lznuaa@gmail.com> <1250525103-5184-2-git-send-email-lznuaa@gmail.com> <1250525103-5184-3-git-send-email-lznuaa@gmail.com> <1250525103-5184-4-git-send-email-lznuaa@gmail.com> <1250525103-5184-5-git-send-email-lznuaa@gmail.com> <4A899495.8050902@gnu.org> <40aa078e0908171040g5718a809o88b093fe5a4a0e28@mail.gmail.com> <3af572ac0908171317s3ef1506fpb3df11916f8a6ee9@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: Erik Faye-Lund , Paolo Bonzini , Frank Li , git@vger.kernel.org, msysgit@googlegroups.com To: Johannes Schindelin X-From: git-owner@vger.kernel.org Mon Aug 17 22:59:38 2009 Return-path: Envelope-to: gcvg-git-2@lo.gmane.org Received: from vger.kernel.org ([209.132.176.167]) by lo.gmane.org with esmtp (Exim 4.50) id 1Md9Il-0008V7-RM for gcvg-git-2@lo.gmane.org; Mon, 17 Aug 2009 22:59:36 +0200 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758046AbZHQU70 convert rfc822-to-quoted-printable (ORCPT ); Mon, 17 Aug 2009 16:59:26 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1758026AbZHQU70 (ORCPT ); Mon, 17 Aug 2009 16:59:26 -0400 Received: from mail-bw0-f222.google.com ([209.85.218.222]:42757 "EHLO mail-bw0-f222.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758015AbZHQU7Z convert rfc822-to-8bit (ORCPT ); Mon, 17 Aug 2009 16:59:25 -0400 Received: by bwz22 with SMTP id 22so2555823bwz.18 for ; Mon, 17 Aug 2009 13:59:25 -0700 (PDT) Received: by 10.223.144.67 with SMTP id y3mr979278fau.20.1250542765370; Mon, 17 Aug 2009 13:59:25 -0700 (PDT) In-Reply-To: Sender: git-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org Archived-At: On Mon, Aug 17, 2009 at 10:56 PM, Johannes Schindelin wrote: > Hi, > > On Mon, 17 Aug 2009, Pau Garcia i Quiles wrote: > >> On Mon, Aug 17, 2009 at 9:53 PM, Johannes >> Schindelin wrote: >> >> > Of course, we could have a script that verifies that the .vcproj f= iles >> > contain reference the appropriate files (which it would know about= by >> > being called from the Makefile and being passed the file names), m= aybe >> > even be able to edit the .vcproj file if it is missing some. =A0Sh= ould >> > not be too hard in Perl. >> >> You'll need to special-case for Visual C++ 2010, which is different >> and incompatible with previous versions. > > Ah, my beloved Microsoft time tax! Sorry, but I make a living developing cross-platform software and porting stuff among any funny combination of Linux, Windows, gcc, mingw, Intel C++ and Visual C++ you can think of. CMake makes my life easier (possible!). Given that the patches we are talking about happen to add support for Visual C++, I'd say it stepped in at the right moment. >> Hence my suggestion for CMake: appropriate project files would be >> generated for the tool the user chooses, be it VC++ 2005, VC++2010, = gcc, >> Borland C++ or anything else. > > The problem is that this will bitrot even more, as nobody will use it= for > gcc, Borland C++, XCode, Eclipse or anything else, except for Microso= ft > Visual C++. How do you know? Also, please note I'm not talking about *adding* a CMake build system, I'm talking about *replacing* the existing autotools build system with a CMake build system, even if they coexist for some time. What would be the point of having two build-systems, one (autotools) useless for Visual C++, the other one (CMake) apt for every platform ? --=20 Pau Garcia i Quiles http://www.elpauer.org (Due to my workload, I may need 10 days to answer)