On Fri, Jun 6, 2014 at 12:26 PM, <[email protected]> wrote:

> Hi, this is my first time using tup and because of a bit of OCD I wanted
> to set up some variants as, e.g.,
>
>  build/release/tup.config
>  build/debug/tup.config
>
> instead of multiple top-level directories such as
>  build-release/tup.config
>  build-debug/tup.config
>
> According to the manual this shouldn't work and it didn't. I was wondering
> if there is a workaround to use this directory structure?
>
>
Sorry, I'm not aware of one. The code to support variants in tup is already
overly complicated (perhaps indicating it was the wrong way to go about
things :). Adding multiple directory hierarchies like this is actually
fairly difficult due to the way the code is architected, though I agree on
the surface it seems like it should be a simple and normal thing to do. As
such, you're probably stuck with a single level of directories for the time
being.

Perhaps some day someone will implement some convenient Lua scripts to
support variants using outputs-in-other-directories and <groups> without
using the official tup variant machinery...

-Mike

-- 
-- 
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to