From c33cca3352a639143a1e5d33dba2e9fd3e738649 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 8 Sep 2022 08:35:37 +0200 Subject: 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 -- cgit v1.2.3