Generated "h" file with multiple configuration Tupfiles

32 views
Skip to first unread message

Gerardo Delgadillo

unread,
Dec 30, 2019, 11:52:09 AM12/30/19
to tup-users
I need to generate a header file with version information using a script, like this:

: |> $VersionToHeader.sh %o |> project/Version.h

And I have two tupfiles, like this:

project/debug/Tupfile
project/release/Tupfile

When I run "Tup project/debug", it complains that "project/Version.h" belongs to the SAME command in the project/release node. How can I fix this?
Reply all
Reply to author
Forward
0 new messages