I know the topic is not strictly connected with General C++ Programming but there is no another one which fits better.
I made small project in CLion.
I've tried to incorporate some tests. I've downloaded gtest and tried to follow this guide : https://www.youtube.com/watch?v=8Up5eNZ0FLw
when this didn't work i've searched some stackOverflow to find more information about my problem.
So I ended with this when I try to compile project :
Whats more in my projet under TCP_Server/Server_tests/basic_tests/SampleTest.cpp
CLion doesnt see
#include "gtest/gtest.h" and proposes to put:
but I know this is not correct (when I leave it I get "gtest/internal/gtest-internal.h: No such file or directory" moreover I know CLion gets confused with GTest macros what doesn't help.
Can someone get my makefiles right or just give me some advice. I've tried to find some template project with gtest but each of them are different.
Some makesfiles are now completely wrong because I've just copy paste to make something works.
Thanks in advance.