using googletest in clion


I want to include gtest to my C++ project. I am using Clion as IDE, which should work. Some tests are already working, but I cannot use any functions. It says that the function is not declared in this scope, when I try to solve this with RocChoice constructor.

Can somebody tell me what I am doing wrong? I need to include somewhere the right directory, right?

This is my
, where my testcases will be written.

This is my

CMakeLists.txt from most outer to inner:


Please sign in to leave a comment.