From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.devel Subject: Re: CMake build anyone? Date: Sun, 25 Jul 2010 21:44:40 +0200 Message-ID: <87sk37wdlj.fsf@telefonica.net> References: <87aapfxyhc.fsf@telefonica.net> <87wrsjwijl.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280087104 24886 80.91.229.12 (25 Jul 2010 19:45:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2010 19:45:04 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 25 21:45:03 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Od78A-0008OJ-T2 for ged-emacs-devel@m.gmane.org; Sun, 25 Jul 2010 21:45:03 +0200 Original-Received: from localhost ([127.0.0.1]:35059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Od78A-0006mj-Eo for ged-emacs-devel@m.gmane.org; Sun, 25 Jul 2010 15:45:02 -0400 Original-Received: from [140.186.70.92] (port=51380 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Od782-0006me-Vt for emacs-devel@gnu.org; Sun, 25 Jul 2010 15:44:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Od781-0005sm-VZ for emacs-devel@gnu.org; Sun, 25 Jul 2010 15:44:54 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:35407) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Od781-0005sU-PN for emacs-devel@gnu.org; Sun, 25 Jul 2010 15:44:53 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Od77y-0008HE-3N for emacs-devel@gnu.org; Sun, 25 Jul 2010 21:44:50 +0200 Original-Received: from 83.42.13.171 ([83.42.13.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Jul 2010 21:44:50 +0200 Original-Received: from ofv by 83.42.13.171 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 25 Jul 2010 21:44:50 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 83.42.13.171 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:TP1HSBsQuNCx4wAww/DbcKSe19M= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127788 Archived-At: Juanma Barranquero writes: > You're talking about emulating the current autoconf machinery, so > talking about the Unixy targets. And I'm saying that the trouble right > now is that the Windows makefiles have drifted quite a lot from the > Unix ones (IIRC they are based on very old Unix makefiles) and > unifying them will be difficult, or at least arduous. Based on my experience with LLVM, which build process was more convoluted than Emacs', I don't expect problems with the Windows build. I've looked at nt/config.nt and much of the stuff there already is implemented by my Unix prototype. AFAIK the Windows build follows the same logical steps as the Unix build, but working around the limitations of not having autoconf etc. That workarounds will disappear for the most part on the cmake build. nt/config.nt, for instance, will be unnecessary and src/config.in (or actually src/config.cmake) will be used for all platforms. >> Just providing cmake as an option where autoconf is available, and as >> the official method where it isn't. > > That'd be great. Okay.