Chad Condon
Chad Condon
thank you! I'm still trying to see if i can get dosbox plugged in
Please be more specific.
> If I build cpputest with externalproject_add I strongly encourage you to [use FetchContent](https://github.com/cpputest/cpputest/blob/master/src/CppUTest/CMakeIntegration-README.md) instead of ExternalProject. ExternalProject will create a totally separate build for CppUTest that will not inherit...
@basvodde This is expected behavior. I think you can close this issue.
> > > If I build cpputest with externalproject_add > > > > I strongly encourage you to [use FetchContent](https://github.com/cpputest/cpputest/blob/master/src/CppUTest/CMakeIntegration-README.md) instead of ExternalProject. ExternalProject will create a totally separate build...
I would try overriding the platform to `armcc` which tends to be more compatible with bare metal projects.
> I'm trying to use FetchContent it builds, but I see it sets the CPP_PLATFORM to Gcc and then > > ``` > /opt/esp/tools/xtensa-esp-elf/esp-13.2.0_20240530/xtensa-esp-elf/bin/../lib/gcc/xtensa-esp-elf/13.2.0/../../../../xtensa-esp-elf/bin/ld: _deps/cpputest-build/src/CppUTest/libCppUTest.a(UtestPlatform.cpp.obj): in function `_ZL37PlatformSpecificWaitPidImplementationiPii': > /workspaces/dte_communications/build_unit_tests/_deps/cpputest-src/src/Platforms/Gcc/UtestPlatform.cpp:146:(.text+0x86):...
- What version of CppUTest are you using? - Are you using `cpputest_discover_tests` or the old `cpputest_buildtime_discover_tests`? - Can you share the toolchain file you're using? - Do you have...
There is quite a bit of logic in the CMake, autotools, etc to configure CppUTest for the target platform. I'm not sure how to help you if you're trying to...
Maybe this is helpful? https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32/api-guides/build-system.html#using-third-party-cmake-projects-with-components