Open
Conversation
cc0fd73 to
ecce5ee
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This changes the following things:
-DBUILD_TESTS=1or-DBUILD_EXAMPLES=1to CMake respectivelyconanfile.pythat retrieves the git commit hash, sets it as the package version and packages cmcstl2 up along with the CMake package. A disadvantage is that there can be no version ranges and forces downstream users to specify the commit they want, but given the instability of the API this is probably fine..travis.ymlsuch that it automatically packages up cmcstl2 after running the tests and uploads it to Bintray. For this to work you need to create your own Bintray account, and set some environment variables just like in this example. Look at my source branch to see it all in action.README.mdPlease note that I inserted my own Bintray badge into the README. You need to change it to your own after you created your own Bintray account.