unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: "Óscar Fuentes" <ofv@wanadoo.es>
Cc: emacs-devel@gnu.org
Subject: Re: CMake build anyone?
Date: Mon, 26 Jul 2010 01:04:52 +0200	[thread overview]
Message-ID: <AANLkTimRBjvJDDWUifM1s64yusN4dT3NhROLC2xjTFSB@mail.gmail.com> (raw)
In-Reply-To: <874ofnw8j4.fsf@telefonica.net>

On Sun, Jul 25, 2010 at 23:34, Óscar Fuentes <ofv@wanadoo.es> wrote:

> A CMake install is required.

Why? (Note: I'm talking only about MSDOS/Windows.)

You envision CMake as substituting the current Windows building
environment wholesale.

My idea is more like this:

- We have the configuration files in some place, like admin/setup.
They are common for all ports (Unix, GNU/Linux, NextStep, MSDOS,
Windows, etc.).
- Developers, or users with CMake, can run the tool and (re)generate
the makefiles. These makefiles get committed to the trunk/branch, and
contain dependencies which are always needed, like gcc / msvc, etc.
- Users or the tarballs or checkouts can run nt/configure.bat (or
equivalent) to create the additional setup info (for example, paths to
include files for the image libraries).

I.e, I think the easiest transition path is having CMake as a tool
*for the maintainers*, to regenerate the makefiles. It's not optimal,
and I don't doubt that switching to a CMake-only build system would be
advantageous; but it introduces a new dependency and it is perhaps too
radical a change. Instead, we can use it like the makeinfo stuff or
the Unicode data files from admin/unidata are used right now: the user
can regenerate info or uni-*.el files, but it is usually not required.

> 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.

All this conditional on RMS, Stefan and Chong not opposing using CMake
as an alternate build system for political or technical reasons, of
course.

    Juanma



  reply	other threads:[~2010-07-25 23:04 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-25 17:28 CMake build anyone? Óscar Fuentes
2010-07-25 17:42 ` Juanma Barranquero
2010-07-25 17:57   ` Óscar Fuentes
2010-07-25 18:21     ` Juanma Barranquero
2010-07-25 19:44       ` Óscar Fuentes
2010-07-25 20:47         ` Juanma Barranquero
2010-07-25 20:57       ` Eli Zaretskii
2010-07-25 20:54     ` Eli Zaretskii
2010-07-25 21:34       ` Óscar Fuentes
2010-07-25 23:04         ` Juanma Barranquero [this message]
2010-07-25 23:44           ` Óscar Fuentes
2010-07-26  0:05             ` Juanma Barranquero
2010-07-26  0:16               ` Óscar Fuentes
2010-07-26  3:07         ` Eli Zaretskii
2010-07-26  3:42           ` Juanma Barranquero
2010-07-26  9:18             ` Andreas Schwab
2010-07-26  9:54               ` Juanma Barranquero
2010-07-26 10:11                 ` Andreas Schwab
2010-07-26 10:16                   ` Juanma Barranquero
2010-07-26 17:12                     ` Eli Zaretskii
2010-07-26 20:19                       ` Juanma Barranquero
2010-07-26 20:33                         ` Eli Zaretskii
2010-07-26 21:19                         ` Miles Bader
2010-07-26 21:59                           ` Juanma Barranquero
2010-07-26 17:07                 ` Eli Zaretskii
2010-07-26 20:11                   ` Juanma Barranquero
2010-07-26 21:33                     ` Stefan Monnier
2010-07-26 22:04                       ` Óscar Fuentes
2010-07-26 23:11                         ` Stefan Monnier
2010-07-26 23:32                           ` Miles Bader
2010-07-27  0:34                             ` Wojciech Meyer
2010-07-27  3:06                             ` Tom Tromey
2010-07-27  3:21                               ` Miles Bader
2010-07-27 15:43                                 ` Alfred M. Szmidt
2010-07-27 10:36                               ` Stefan Monnier
2010-07-26  4:15           ` Óscar Fuentes
2010-07-26  4:45             ` Óscar Fuentes
2010-07-26 17:03               ` Eli Zaretskii
2010-07-26 20:02                 ` Juanma Barranquero
2010-07-26 20:31                   ` Eli Zaretskii
2010-07-26 17:01             ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimRBjvJDDWUifM1s64yusN4dT3NhROLC2xjTFSB@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=ofv@wanadoo.es \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).