Replies: 1 comment
-
I've asked in Discord and |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a simple code generator that needs to run before compiling other targets, as they depend on the generated targets.
The code generator is a target that belongs to the same project.
I'm thinking about creating a
phony
target that will generate the code on thebefore_build
step and that depends on the code generator itself to introduce a dependency hierarchy:I cannot find in the docs a way to get the directory where the target
codegenerator
was compiled to run it withos.run
or something like that.Is this the proper way to try to solve this problem? Does xmake support this pattern?
Beta Was this translation helpful? Give feedback.
All reactions