-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Remove custom handling in add_swift_host_library #23204
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
Conversation
Use the appropriate CMake mechanism for controlling flags for building the code.
@swift-ci please smoke test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not presently qualified to give an unqualified thumbs-up on this, but I definitely approve! 👍
Use the appropriate CMake mechanism for building the libraries.
This is not currently being used. Unfortunately, setting linker options is difficult until CMake 3.13 which introduced target_link_options. Prior to that, you needed to do: set_property(TARGET <TARGET> APPEND_STRING LINK_FLAGS <NEW FLAGS>) If needed, we could write a helper to provide the target_link_options interface on earlier CMake versions.
Use the appropriate CMake mechanisms for building the libraries.
bc3160f
to
533a26a
Compare
@swift-ci please test |
Build failed |
Build failed |
@swift-ci please test |
@Rostepher, @gottesmm - is this okay? |
@Rostepher @gottesmm - ping x 2? |
@Rostepher @gottesmm - ping x 3 |
I checked all instances of uses of this and it merges cleanly. LGTM. |
Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.
Resolves SR-NNNN.