Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support defines and other settings that come through dump.json #91

Closed
cgrindel opened this issue Dec 23, 2022 · 1 comment
Closed

Support defines and other settings that come through dump.json #91

cgrindel opened this issue Dec 23, 2022 · 1 comment
Labels
chore Developer chore or clean up

Comments

@cgrindel
Copy link
Owner

Example: https://github.com/apple/swift-crypto/blob/main/Package.swift#L82-L89
WIN32_LEAN_AND_MEAN define comes through as:

    {
      "dependencies" : [

      ],
      "exclude" : [
        "hash.txt",
        "include/boringssl_prefix_symbols_nasm.inc",
        "CMakeLists.txt"
      ],
      "name" : "CCryptoBoringSSL",
      "resources" : [

      ],
      "settings" : [
        {
          "kind" : {
            "define" : {
              "_0" : "WIN32_LEAN_AND_MEAN"
            }
          },
          "tool" : "c"
        }
      ],
      "type" : "regular"
    },
@cgrindel cgrindel added the chore Developer chore or clean up label Dec 23, 2022
@cgrindel cgrindel added this to the Swift Gazelle Plugin 0.1.0 milestone Dec 23, 2022
@cgrindel
Copy link
Owner Author

Fixed by #92.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Developer chore or clean up
Projects
None yet
Development

No branches or pull requests

1 participant