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 cmake BUILD_SHARED_LIBS option for static library support. #169

Merged
merged 5 commits into from Oct 2, 2019

Conversation

dbaarda
Copy link
Member

@dbaarda dbaarda commented Oct 2, 2019

BUILD_SHARED_LIBS defaults to ON, and can be set to OFF using ccmake . to
build librsync as a static library.

dbaarda added 4 commits Oct 2, 2019
BUILD_SHARED_LIBS defaults to ON, and can be set to OFF using `ccmake .` to
build librsync as a static library.
Use `addons: homebrew:` to install popt on osx instead of manual
`before_install:` commands. Remove obsolete `sudo:` settings. Use `os: linux`
instead of `dist: xenial` to always use the default linux distribution. Make
each entry include `os:` and `compiler:` entries first. Add an entry that
tests compiling librsync as a static library.
It seems popt was not correctly installed without this.
@dbaarda
Copy link
Member Author

@dbaarda dbaarda commented Oct 2, 2019

I've also updated the .travis.yml test builds to use more updated conventions/settings and added a test for static builds.

@dbaarda
Copy link
Member Author

@dbaarda dbaarda commented Oct 2, 2019

This is related to issue #154 but I'm not sure that it fixes it.

@dbaarda dbaarda merged commit 1ad3c7c into librsync:master Oct 2, 2019
1 check passed
@dbaarda dbaarda deleted the dev/staticlib1 branch Oct 2, 2019
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

1 participant