Setting up Googletest with ESP-IDF

StridingDragon
Posts: 46
Joined: Fri Aug 02, 2019 11:59 pm

Setting up Googletest with ESP-IDF

Postby StridingDragon » Mon Nov 14, 2022 6:42 pm

I've been trying for the past days to set up a very basic example project to use Googletest but I have not had much luck. CMake and its clutter is just constantly getting in my way. I can't get it set up as a component and I can't get it set up as a lib either. Something's always going wrong.

Has anyone been able to get Gtest to work in an IDF project, and would you be willing to share how you set it up?
Thank you!

StridingDragon
Posts: 46
Joined: Fri Aug 02, 2019 11:59 pm

Re: Setting up Googletest with ESP-IDF

Postby StridingDragon » Fri Nov 18, 2022 2:57 am

After days and days of trying, I gave up. I guess, Googletest is just not made for the ESP32, even though they have ESP32 and ESP8266 build paths in their code. Or perhaps, I'm just not cut out for this kind of CMake magic.

Who is online

Users browsing this forum: No registered users and 373 guests