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

GMOCK is required? #3

Closed
whatisor opened this issue Oct 2, 2016 · 1 comment
Closed

GMOCK is required? #3

whatisor opened this issue Oct 2, 2016 · 1 comment
Labels

Comments

@whatisor
Copy link

whatisor commented Oct 2, 2016

As I know, GMOCK is only for Test purpose.
When I uncheck it from cmake, cmake configure always is error.
CMake Error at CMakeLists.txt:97 (set_target_properties):
set_target_properties Can not find target to add properties to: gmock

@DanielSWolf
Copy link
Owner

I'm not sure what you mean by "uncheck it from cmake". If you're talking about a CMake GUI, better edit CMakeLists.txt by hand. GUIs expose only a fraction of CMake's functionality.

Yes, Google Test is only used for unit tests. If you want to remove it from CMake, you must remove the unit test project, Google Test, and all references to it. But why would you want to do that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants