tup newbie questions:


[ my project is compiled on linux and Mac, currently made of one git parent 
project with three git submodules. Small project (< 5000 lines) of C++ ). ]

   1. 

I need to create a few dirs in and above the src dir. They will be filled 
with generated source (protobuf, lttng) and output (*.o) , and  also build 
revisions debug/release . 


I saw in the mailing list that in 2015 there was no (easy?) way to 
accomplish it. What’s the recommendation today?


I am currently using a Makefile, and consider moving to tup. Target arch 
are Mac and linux.


I could of course wrap with a Makefile:

prepare_dirs:

  mkdir -p x y  z


my_prog: prepare_dirs

tup upd




   1. what is an easy way to build both debug and release in one run? (i.e 
   multiple targets), alternatively what is the recommended method to have 
   something like make DEBUG=1 ? 
   2. I use git submodule named ‘scream’ and get  “tup warning: Writing to 
   hidden file '/Users/noam/w/hp-router/.git/modules/src/scream/index' “
   the files in the submodule are compiled as part of the main (parent) 
   project ( i.e. I don’t want to create libraries and link them) 


Thanks

Noam

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