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

Add pkgconfig args in Xcodeproj generation #306

Merged
merged 1 commit into from May 8, 2016

Conversation

ankitspd
Copy link
Member

@ankitspd ankitspd commented May 3, 2016

@goloveychuk
Copy link
Contributor

we need to have
pkgArgs.Xcc in OTHER_SWIFT_FLAGS

@ankitspd
Copy link
Member Author

ankitspd commented May 3, 2016

Looks like either OTHER_CFLAGS or OTHER_SWIFT_FLAGS prefixed with -Xcc does the job. I chose the first one because it seems cleaner that way.

}

public func pkgConfigArgs() throws -> (xcc: [String], xld: [String]) {
var xcc = [String]()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we are going to use Xcc as the name in the code, we should case it consistently.

@czechboy0
Copy link
Contributor

@aciidb0mb3r Ping, can I help out here somehow? I'd really like to get this in 😊

@ankitspd
Copy link
Member Author

ankitspd commented May 6, 2016

Hmm we can probably do the linker flags as a separate ticket if @ddunbar is fine with it. Rest of the comments are pretty small.

@czechboy0
Copy link
Contributor

Awesome, yeah I agree that the linker flag filtering/auditing should come as a separate PR, because it's not specific to the xcode project generation.

@ankitspd ankitspd force-pushed the xcode-pkgconfig branch 2 times, most recently from 0cb7104 to 34e36f3 Compare May 7, 2016 16:24
@ankitspd
Copy link
Member Author

ankitspd commented May 7, 2016

@ddunbar Updated the PR, please re-review. Will do the filtering of flags etc in separate PR

@ddunbar
Copy link
Member

ddunbar commented May 7, 2016

Ok, I am willing to take this since it seems like a monotonic improvement. I am however pretty concerned about our lack of tests here...

@ddunbar
Copy link
Member

ddunbar commented May 7, 2016

@swift-ci please test and merge

@ankitspd ankitspd force-pushed the xcode-pkgconfig branch 2 times, most recently from a777a17 to 79e956e Compare May 8, 2016 11:09
@ankitspd
Copy link
Member Author

ankitspd commented May 8, 2016

@swift-ci please test and merge

@ankitspd
Copy link
Member Author

ankitspd commented May 8, 2016

@ddunbar can you suggest how to go about testing this?

@swift-ci swift-ci merged commit e11027a into apple:master May 8, 2016
@ankitspd ankitspd deleted the xcode-pkgconfig branch May 10, 2016 06:07
ankitspd pushed a commit to ankitspd/swift-package-manager that referenced this pull request Jan 11, 2019
Properly detach signal handler thread
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.

None yet

5 participants