nokeedev / gradle-native

The home of anything about Gradle support for natively compiled languages

Home Page:https://nokee.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Expand Xcode macro

lacasseio opened this issue · comments

As a Nokee developer, I want to expand Xcode macro (aka build setting's value) when required so that I can expand file paths accurately.

Acceptance Criteria

  • Support simple expansion, i.e. $VAR
  • Support delimited expansion, i.e. $(VAR)/${VAR}/$[VAR]
  • Support nested expansion, i.e. $(FOO_$VAR)
  • Support operator expansion (parsing only), i.e. $(FOO:lower)
  • Support multiple operator expansion (parsing only), i.e. $(FOO:lower,upper)

We also added support to the undocumented feature Xcode also has support for. We may or may not keep those features in the future; it depends on how Xcode evolves.