You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/04/02 12:04:43 UTC

[GitHub] [incubator-nuttx] xiaoxiang781216 commented on a change in pull request #5961: Update cpp_cmake.rst

xiaoxiang781216 commented on a change in pull request #5961:
URL: https://github.com/apache/incubator-nuttx/pull/5961#discussion_r841068763



##########
File path: Documentation/guides/cpp_cmake.rst
##########
@@ -104,11 +104,12 @@ Creating the project
 
     set(EXE_NAME hellocpp)
 
+    SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${AC_HW_FLAGS} ${AC_DEFINES}")
     set(CMAKE_CXX_FLAGS     "${AC_HW_FLAGS} ${AC_DEFINES} ${AC_COMMON_FLAGS} ${AC_CXX_EXTRA_FLAGS}")
     if (PARAM_DEBUG)
         set(CMAKE_CXX_FLAGS     "${CMAKE_CXX_FLAGS} -g")
     endif()
-
+    

Review comment:
       @longcongduoi could you remove the space from the empty line?




-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org