Skip to content

[runtime] Correct usage of add_custom_command_target in CMakeLists.txt #2331

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

Conversation

rintaro
Copy link
Member

@rintaro rintaro commented Apr 28, 2016

What's in this pull request?

  • COMMAND arguments must immediately follow <dependency_out_var_name>. See here.
  • Use generated target name instead of output file names.
  • Unify 2 file copy COMMAND into 1 add_custom_command_target.

In addition, changed the component of libsection_magic_{begin,end}.a to never_install
I believe swift_{begin,end}.o are required, but libsection_magic_{begin,end}.a are not for install.
Please correct me if I was wrong.


Before merging this pull request to apple/swift repository:

  • Test pull request on Swift continuous integration.

rintaro added 2 commits April 29, 2016 01:44
- COMMAND arguments must immediately follow dependency_out_var_name.
- Use generated target name instead of output file names.
- Unify 2 file copy COMMAND into 1 add_custom_command_target.
@gribozavr
Copy link
Contributor

@swift-ci Please test and merge

@swift-ci swift-ci merged commit 58eafc7 into swiftlang:master Apr 29, 2016
@rintaro rintaro deleted the runtime-cmake-add_custom_command_target branch May 2, 2016 06:59
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.

3 participants