Get unit test (googletest) run in simple cmake/C context

Job ID: 35124896

Budget: €30 – €250 EUR

It’s simple, but somehow I didn’t manage to get it run today. I have a static c library which should be tested by a gtest unit test in a subdir: tests

Unfortunately, whatever I do I get a linker error: undefined reference. Even if I compile the lib as shared

For cmake experts this might be a simple task. Can you help?

BR