Skip to content

Allow to disable tests through BUILD_TESTING=OFF#8

Merged
pfultz2 merged 1 commit intopfultz2:masterfrom
myd7349:add-build-testing-option
May 13, 2019
Merged

Allow to disable tests through BUILD_TESTING=OFF#8
pfultz2 merged 1 commit intopfultz2:masterfrom
myd7349:add-build-testing-option

Conversation

@myd7349
Copy link
Contributor

@myd7349 myd7349 commented May 13, 2019

Hi!
I am creating a package for this awesome library in vcpkg: microsoft/vcpkg#6426
It would be nice to have an option to disable tests.
By including CTest.cmake module, we got a BUILD_TESTING option which has a default value: ON.
CTest.cmake module will also call enable_testing() for us if BUILD_TESTING is ON.

@pfultz2 pfultz2 merged commit 7ff0a73 into pfultz2:master May 13, 2019
@pfultz2
Copy link
Owner

pfultz2 commented May 13, 2019

Thanks!

@myd7349 myd7349 deleted the add-build-testing-option branch May 13, 2019 23:05
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