Skip to content

[Xcodeproj] Add -DSWIFT_PACKAGE=1 to the C/C++ preprocessor defines #1910

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

Merged
merged 1 commit into from
Dec 6, 2018

Conversation

benlangmuir
Copy link
Contributor

It was already set for swift, but needed to be added for C/C++/etc. to
match how this works for a command-line swift build invocation.

It was already set for swift, but needed to be added for C/C++/etc. to
match how this works for a command-line `swift build` invocation.

Also fixes a subtle bug in inherited resolution for build settings.
@aciidgh
Copy link
Contributor

aciidgh commented Dec 6, 2018

@swift-ci smoke test

@benlangmuir
Copy link
Contributor Author

Verified this generates an xcodeproj with the expected definitions of SWIFT_PACKAGE and DEBUG for both Swift and C.

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

Successfully merging this pull request may close these issues.

2 participants