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 2021/03/22 13:25:25 UTC

[GitHub] [incubator-nuttx] gustavonihei commented on a change in pull request #3138: Addind CMake based C++ project example in documentation

gustavonihei commented on a change in pull request #3138:
URL: https://github.com/apache/incubator-nuttx/pull/3138#discussion_r598710920



##########
File path: Documentation/guides/cpp_cmake.rst
##########
@@ -0,0 +1,287 @@
+.. include:: /substitutions.rst
+.. _cpp_cmake:
+
+C++ Example using CMake
+=======================
+
+In some situations, developers intend to implement software using the NuttX platform in
+a previously set hardware and configuration where it is not possible or allowed to make
+changes. In such situations, less contact with the operating source tree is better, where
+it is only used for the application.
+
+Some approaches are possible to do that today:
+
+* https://cwiki.apache.org/confluence/display/NUTTX/Building+NuttX+with+Applications+Outside+of+the+Source+Tree
+* https://www.programmersought.com/article/61604062421/
+
+We have been seen the increase of the use of C++ language in embedded systems application. And
+CMake (https://www.cmake.org) is the preferred build system used to build C++ projects. NuttX
+support C++ based projects.
+
+Using the 'build as a library' procedure of NuttX, it is possible to build NuttX
+applications using C++ language and also the cmake  build
+tool.

Review comment:
       ```suggestion
   applications using C++ language and also the cmake build tool.
   ```




-- 
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.

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