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 BUILD_TESTING cmake option #580

Merged
merged 1 commit into from
Dec 16, 2022

Conversation

nwf-msr
Copy link
Contributor

@nwf-msr nwf-msr commented Dec 15, 2022

As with CTest, but without the full machinery thereof. This facilitates package builders to use the usual build targets (all, install) without needing to build the test programs if they're just going to get dropped on the floor.

As with CTest, but without the full machinery thereof.  This facilitates
package builders to use the usual build targets (all, install) without
needing to build the test programs if they're just going to get dropped
on the floor.
@nwf-msr
Copy link
Contributor Author

nwf-msr commented Dec 15, 2022

Hrm. I almost want to flip this to OFF by default, since I am struggling to explain to the BSD ports tree "yes, this build system defaults to the tests on, but I want you to default to the tests off, but turn them back on if the user explicitly asks". :( Nevermind, got it.

@nwf-msr nwf-msr requested a review from mjp41 December 16, 2022 15:07
@nwf-msr nwf-msr merged commit 704843d into microsoft:main Dec 16, 2022
@nwf-msr nwf-msr deleted the 202212-cmake-tests-optional branch December 16, 2022 16:43
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