Skip to content

Conversation

mikefero
Copy link
Contributor

Since CCM commands can now be run locally libssh2 can be considered optional. This change will present a status message if -DCASS_USE_LIBSSH2=ON and cannot be found; indicating libssh2/remote commands will be disabled. This change also allows for the building of either the integration (libssh2 optional), unit tests, or both.

@mikefero mikefero changed the title CPP-344: Make libssh2 optional when building tests 344: Make libssh2 optional when building tests Feb 25, 2016
CMakeLists.txt Outdated
option(CASS_BUILD_DOCS "Build documentation" OFF)
option(CASS_BUILD_TESTS "Build tests" OFF)
option(CASS_BUILD_INTEGRATION_TESTS "Build tests" OFF)
option(CASS_BUILD_UNIT_TESTS "Build tests" OFF)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe these should say "Build integration tests" and "Build unit tests"?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call; that is why you shouldn't copy and paste.

mpenick added a commit that referenced this pull request Mar 3, 2016
344: Make libssh2 optional when building tests
@mpenick mpenick merged commit 7608ef5 into master Mar 3, 2016
@mpenick mpenick deleted the 344 branch March 4, 2016 21:48
mikefero added a commit that referenced this pull request Jul 1, 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.

2 participants