What is the best way to port a software project with thousands of .cpp files and associated headers in a fairly well structured source tree to the tup build system?
If the tree looks like:
colors/
primaries/
red.cpp
green.cpp
blue.cpp
fruity/
orange.cpp
grape.cpp
grayscale/
white.cpp
gray.cpp
black.cpp
some/annoying/nesting/animals/
horse.cpp
bear.cpp
for tens of categories with tens of target files in each, it really seems like a rather inelegant solution to write one-time use shell scripts to dump out Tupfiles in each directory, even if they are ~mostly similar thanks to sharing a Tuprules.tup. What is the right, "best practice", hopefully portable way to do build projects like this with tup?