-
Notifications
You must be signed in to change notification settings - Fork 11
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
Follow the cmake standard of BUILD_TESTING vs KDSingleApplication_TESTS #10
Comments
Probably this is a WONTFIX. at least for now. |
The good thing about KDSingleApplication_TESTS is that it makes it easy to use KDSingleApplication as a submodule; if you want to build the unittests of the main repo, you don't necessarily want to build those of the 3rdparty libs. However I can certainly see the benefit of supporting the standard BUILD_TESTING variable when KDSingleApplication is built as a standalone module. So why don't we do something like this, in KDSingleApplication's own CMakeLists.txt?
Untested. |
I have no objection to that type of solution. would be something to add to all our products, eventually. if we want to do that work. |
BUILD_TESTING is the more or less standard flag to enable tests.
Hiding the tests behind KDSingleApplication_TESTS is unintuitive.
The text was updated successfully, but these errors were encountered: