]> git.tdb.fi Git - builder.git/commit
Avoid spurious dependency loop errors from side effects
authorMikko Rasa <tdb@tdb.fi>
Thu, 5 Jan 2023 09:36:41 +0000 (11:36 +0200)
committerMikko Rasa <tdb@tdb.fi>
Thu, 5 Jan 2023 13:58:51 +0000 (15:58 +0200)
commitb0438fd2d85d6937b67db38c6138b0783962d8b2
treed896aa5134bb87da893ff639d4f31cdf4db2633e
parentd068c62aac1825a0da5619dc4ca50ce3186bc37a
Avoid spurious dependency loop errors from side effects

If the primary target depends on its own side effect (such as a generated
source file including a header generated by the same command), this could
cause the side effect's prepare() to be entered recursively.
source/lib/target.cpp