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

build: add support for installation #150

Merged
merged 1 commit into from
May 16, 2020
Merged

Conversation

compnerd
Copy link
Collaborator

@compnerd compnerd commented May 15, 2020

This extends the CMake build to install the artifacts. This is required
for redistribution of the build.

Replace this paragraph with a description of your changes and rationale. Provide links to an existing issue or external references/discussions, if appropriate.

Checklist

  • I've added at least one test that validates that my change is working, if appropriate
  • I've followed the code style of the rest of the project
  • I've read the Contribution Guidelines
  • I've updated the documentation if necessary
Not Found
This extends the CMake build to install the artifacts.  This is required
for redistribution of the build.
@natecook1000
Copy link
Member

@swift-ci Please test

@natecook1000
Copy link
Member

Thanks @compnerd! At some point it would be great to have instructions for building this way, probably in the document I need to add for #46.

@natecook1000 natecook1000 merged commit f18ce1a into apple:master May 16, 2020
@compnerd compnerd deleted the install branch May 18, 2020 15:48
@compnerd
Copy link
Collaborator Author

compnerd commented May 18, 2020

@natecook1000 happy to write draft up some instructions, at least for me, this largely amounts to:

cmake -B S:\BinaryCache\Release\Windows-x86_64\swift-argument-parser -D BUILD_SHARED_LIBS=YES -D CMAKE_BUILD_TYPE=Release -D CMAKE_Swift_FLAGS=%SWIFT_FLAGS% -G Ninja -S S:\SourceCache\swift-argument-parser 

where the flags are path to the SDK.

Not sure where to place the documentation, pointers would be nice for that.

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

2 participants