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: Mon, 26 Jul 2010 01:44:25 +0200 Message-ID: <87vd83unxi.fsf@telefonica.net> References: <87aapfxyhc.fsf@telefonica.net> <87wrsjwijl.fsf@telefonica.net> <83mxtfb7uo.fsf@gnu.org> <874ofnw8j4.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 1280101487 29755 80.91.229.12 (25 Jul 2010 23:44:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 25 Jul 2010 23:44:47 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 26 01:44:46 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 1OdAs8-0006cy-FZ for ged-emacs-devel@m.gmane.org; Mon, 26 Jul 2010 01:44:44 +0200 Original-Received: from localhost ([127.0.0.1]:36364 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdAs7-0000Bf-QU for ged-emacs-devel@m.gmane.org; Sun, 25 Jul 2010 19:44:43 -0400 Original-Received: from [140.186.70.92] (port=55762 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdAs2-0000BR-6f for emacs-devel@gnu.org; Sun, 25 Jul 2010 19:44:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdAs1-0004NV-09 for emacs-devel@gnu.org; Sun, 25 Jul 2010 19:44:38 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59419) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdAs0-0004NQ-KY for emacs-devel@gnu.org; Sun, 25 Jul 2010 19:44:36 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OdArw-0006Y2-VW for emacs-devel@gnu.org; Mon, 26 Jul 2010 01:44:32 +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 ; Mon, 26 Jul 2010 01:44:32 +0200 Original-Received: from ofv by 83.42.13.171 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2010 01:44:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 42 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:ml2uWMDpR8gU1FdTw+DRi7RoAqs= 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:127808 Archived-At: Juanma Barranquero writes: >> A CMake install is required. > > Why? (Note: I'm talking only about MSDOS/Windows.) [snip] > I.e, I think the easiest transition path is having CMake as a tool > *for the maintainers*, to regenerate the makefiles. This is a common requirement but not possible. CMake does the job of `configure' and hence it is sensitive to the contents of the user's machine and to the options he sets. Then, build files for his tool of choice are generated. They can be makefiles for make, or nmake, or jom... They can be project files for an assortment of IDEs too. Even if it were possible to distribute functional makefiles (it is not, due to technial details) they would force a very stringent set of requirements on the user wrt which libraries must be installed, etc. As mentioned before, I think that depending on cmake is more convenient than depending on gnuwin32/msys. [snip] >> For the time being, we can put MSDOS aside and go ahead if cmake is seen >> as convenient enough by the Windows maintainers. > > As long as it is an alternative and not a replacement, it seems like a > good idea worth trying IMHO. I'm convinced that you will appreciate the simplification CMake brings over the current Windows build system. > All this conditional on RMS, Stefan and Chong not opposing using CMake > as an alternate build system for political or technical reasons, of > course. CMake is under the BSD license. If anyone opposes from now on to including support for cmake on the source distribution of Emacs, please speak up. That would save me a few hours of boring work.