[rtems-docs commit] eng: Document new build item attributes

Sebastian Huber sebh at rtems.org
Thu Sep 8 06:26:43 UTC 2022


Module:    rtems-docs
Branch:    master
Commit:    c33cca3352a639143a1e5d33dba2e9fd3e738649
Changeset: http://git.rtems.org/rtems-docs/commit/?id=c33cca3352a639143a1e5d33dba2e9fd3e738649

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep  8 08:35:37 2022 +0200

eng: Document new build item attributes

Close #4670.

---

 eng/req/items.rst | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/eng/req/items.rst b/eng/req/items.rst
index e4f600a..1fdc257 100644
--- a/eng/req/items.rst
+++ b/eng/req/items.rst
@@ -284,6 +284,10 @@ cppflags
     The attribute value shall be a list. Each list element shall be a
     :ref:`SpecTypeBuildCPreprocessorOption`.
 
+cxxflags
+    The attribute value shall be a list. Each list element shall be a
+    :ref:`SpecTypeBuildCXXCompilerOption`.
+
 includes
     The attribute value shall be a list. Each list element shall be a
     :ref:`SpecTypeBuildIncludePath`.
@@ -327,6 +331,7 @@ Please have a look at the following example:
     copyrights:
     - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
     cppflags: []
+    cxxflags: []
     enabled-by: true
     includes: []
     ldflags: []
@@ -509,6 +514,18 @@ referenced build items.  The ``includes``, ``ldflags``, ``objects``, and
 attributes of the build group. All explicit attributes shall be specified. The
 explicit attributes for this type are:
 
+cflags
+    The attribute value shall be a list. Each list element shall be a
+    :ref:`SpecTypeBuildCCompilerOption`.
+
+cppflags
+    The attribute value shall be a list. Each list element shall be a
+    :ref:`SpecTypeBuildCPreprocessorOption`.
+
+cxxflags
+    The attribute value shall be a list. Each list element shall be a
+    :ref:`SpecTypeBuildCXXCompilerOption`.
+
 includes
     The attribute value shall be a list. Each list element shall be a
     :ref:`SpecTypeBuildIncludePath`.
@@ -536,8 +553,11 @@ Please have a look at the following example:
 
     SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
     build-type: group
+    cflags: []
     copyrights:
     - Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+    cppflags: []
+    cxxflags: []
     enabled-by:
     - BUILD_TESTS
     - BUILD_SAMPLES



More information about the vc mailing list