I am trying to consume the cmake freertos_plus_tcp project within my top level cmake file.
I setup as per the FreeRTOS+TCP github page but I get many errors as the various subprojects cannot find include files like FreeRTOS.h, FreeRTOSConfig.h etc.
I tried adding in the paths using the target_include_directories(xx) one at a time but there are several other subprojects that complain about other includes so my cmake file got very big and messy. I tried using the legacy include_directory but that also presented issues. What is the proper way to include all the port includes etc. in the top level cmake? Is there any examples?
finally got it … I had scope set to PRIVATE setting to PUBLIC worked for me
Thanks for reporting back.