You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a source file to be built is generated, using preGenerateCommands works, and it gets included in the build, but not if it's a library dependency of another dub package. To reproduce:
When trying to build "ledep", the preGenerateCommands for "oops" is run, but foo.d isn't included in the oops build, yielding a linker error about the missing symbol foo.answer.
The text was updated successfully, but these errors were encountered:
atilaneves
changed the title
preGenerate
preGenerateCommands doesn't work in dub dependency
Apr 4, 2022
When a source file to be built is generated, using preGenerateCommands works, and it gets included in the build, but not if it's a library dependency of another dub package. To reproduce:
When trying to build "ledep", the preGenerateCommands for "oops" is run, but
foo.d
isn't included in the oops build, yielding a linker error about the missing symbolfoo.answer
.The text was updated successfully, but these errors were encountered: