-
Notifications
You must be signed in to change notification settings - Fork 613
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
Googletest: should only download if explicitly requested #376
Comments
Ah, just looking at git annotate... ohai @QuantamHD :) |
Why not download by default, and turn off if you're trying to package it? IMO we should optimize for dev velocity over packaging velocity |
IMHO is an antipattern. Developers who care do not want that, in particular the kind that like velocity :) Anyway, independent of the default, we first need an option to actually be able to choose, before we can define its default :) |
This is in my (ignored) PR here |
I like that @sarnold - can you make pull request against berkely-abc ? Looks like your link points to a fork but not a PR. |
Currently, Googletest is attempted to be downloaded unconditionally if tests are enabled
https://github.com/berkeley-abc/abc/blob/master/CMakeLists.txt#L116-L128
This is problematic for packaging, as
So I suggest to only do that on some explicit, say
-DABC_DOWNLOAD_GTEST
, default false; by default it should just use the default googletest available on the system (1.14.0 is old enough that it should be available on all distros. ) using theinclude(GoogleTest)
macro in CMake.I see if I can get to it.
The text was updated successfully, but these errors were encountered: