Replies: 2 comments
-
you can only set only one on_config in target. if you want to more, please use rules |
Beta Was this translation helpful? Give feedback.
-
Thank you for your reply, But that's okay, at least I now know that they allow me to bypass some restrictions of the target scope. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello !
I'm trying to convert a big project to xmake and I struggle with all the scopes of xmake.
I have multiple scripts to run before the build that generate various .h/.c
I quickly realized that I can't call more than one on_config in the target scope.
For example this will just print "hello"
But I just saw that on the other end, this displays "bar", "foo" and "hello"
Can someone explain to me what's the fundamental difference between a rule and the target itself that allows this behavior ?
Thank you in advance,
Mactul
Beta Was this translation helpful? Give feedback.
All reactions