Hi anonym,

I started to use the builtin foreach etc but very quickly ran into the 
limitations.
FWIW I think in all but the simplest cases the "run" command will be 
necessary.

Stephen.

On Thursday, 27 March 2014 15:39:59 UTC, anonym anonym wrote:
>
> Hi
>
> I wanted to try tup out. But I have a issue that I couldn't find a 
> solution for.
>
> I have a line in my Tupfile like this:
>
> : foreach .*.cpp |> gcc %f -o %o |> %B.o
>
> The Problem is, that it's only valid for the directory where the Tupfile 
> is located. So it doesn't compile files in subdirectories. I really don't 
> want to copy my Tupfile into every subdirectory.
>
> Is there anything like this, that I can also search through subdirectories?
>
> : foreach **/*.cpp |> gcc %f -o %o |> %B.o
>
> Thanks for helping.
>

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