Hi guys, actually I was trying groups, as I had a feeling from documentation that this is what am I looking for, however as it it written as a reference with no exact example, I failed to achieve what I wanted with tup generating errors and I didn't have few days just to figure this out. Regarding variants, I didn't gave them much chance, maybe I should, however as said, there is not detailed example what those features do in reality.
I've to say the manual is great and I would appreciate, if something similar would be for other tup options present with examples how to use them and what the output looks like. :-) However, I'll give the groups/variants another chance and post my result for further discussions/investigations. Btw. very nice project and if there would be some more detailed documentation, I would prefer tup over make. I like the way how the dependencies are solved etc. :-) Vojtech On Friday, May 12, 2017 at 8:12:53 PM UTC+2, [email protected] wrote: > > On Fri, May 12, 2017 at 5:12 AM, Vojtech Musil > <[email protected] <javascript:>> wrote: > > Hello, > > > > I started to learn tup, however I've stumbled on an issue while > generating > > files into different directories. My folder structure looks like this: > > > > tup_test4 > > |---newmath > > | |---square.c > > | |---square.h > > | |---Tupfile > > |---hello.c > > |---Tupfile > > > > > > My goal is to generate all the object files into objs direcotry, all > > libraries into libs and build the program out of that. Here is how my > > Tupfile looks like: > > Have you tried using a variant? That will put all outputs in a > separate directory structure under the variant directory. > > -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.
