trns1997 commented on code in PR #17968:
URL: https://github.com/apache/nuttx/pull/17968#discussion_r2713642348


##########
arch/arm64/src/cmake/platform.cmake:
##########
@@ -45,6 +45,11 @@ if(CONFIG_LIBSUPCXX_TOOLCHAIN)
   nuttx_find_toolchain_lib(libsupc++.a)
 endif()
 
+if(CONFIG_LIBCXXTOOLCHAIN)
+  nuttx_find_toolchain_lib(libstdc++.a)
+  list(APPEND CMAKE_CXX_STANDARD_INCLUDE_DIRECTORIES ${NUTTX_DIR}/include/cxx)

Review Comment:
   not a fan of this solution, but this is the only way i found to inlcude cxx 
to mimic the makefile build



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to