caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
To: kgo@grant-olson.net
Cc: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] Re: Building multiple configurations?
Date: Tue, 23 Mar 2010 09:54:03 +0100	[thread overview]
Message-ID: <91a3da521003230154h4ba92c13v648ebd090ac3dfdb@mail.gmail.com> (raw)
In-Reply-To: <4BA81D96.8010902@grant-olson.net>

On Tue, Mar 23, 2010 at 2:47 AM, Grant Olson <kgo@grant-olson.net> wrote:
> On 3/22/2010 9:37 PM, Michael Ekstrand wrote:
>>
>> You could also have the two different module implementations under
>> different names and have the build system symlink or copy the correct
>> one in place prior to building.  In OMake, this is easy with the
>> 'ln-or-cp' command.
>>
>
> Exactly what I want.  Now that you've pointed it out, it seems so
> obvious.  Just copy the files and treat the copy as a build artifact.
> Thanks.

A similar way is to just put them in two different directories under
the same name and include the right one depending on what you want
(makes the solution more cross-platform).

Best,

Daniel


  reply	other threads:[~2010-03-23  8:54 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23  0:35 Grant Olson
2010-03-23  1:13 ` [Caml-list] " Yoann Padioleau
2010-03-23  1:32   ` Grant Olson
2010-03-23  1:56     ` Yoann Padioleau
2010-03-23  3:06       ` Grant Olson
2010-03-23  1:37 ` Michael Ekstrand
2010-03-23  1:47   ` [Caml-list] " Grant Olson
2010-03-23  8:54     ` Daniel Bünzli [this message]
2010-03-23  5:50 ` [Caml-list] " Martin Jambon

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

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

  git send-email \
    --in-reply-to=91a3da521003230154h4ba92c13v648ebd090ac3dfdb@mail.gmail.com \
    --to=daniel.buenzli@erratique.ch \
    --cc=caml-list@yquem.inria.fr \
    --cc=kgo@grant-olson.net \
    /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.
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 NNTP newsgroup(s).