Closed segiddins closed 3 years ago
+1 for this
+1
I can't expand $(TARGET_CPU)
neither
Anyone who has a use-case for this, please feel free to send a PR with a fix. This can be done with https://docs.bazel.build/versions/4.0.0/skylark/lib/ctx.html#expand_make_variables.
I was updating one of my macros to get parity with
objc_library
, and discovered that$(GENDIR)
is silently not expanded inswift_library
'scopt
s, whereasobjc_library
expands it