Version française
Home     About     Download     Resources     Contact us    
Browse thread
Building multiple configurations?
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Daniel_Bünzli <daniel.buenzli@e...>
Subject: Re: [Caml-list] Re: Building multiple configurations?
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