diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-22 18:33:19 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-05-28 10:38:23 +0200 |
commit | 2a2fd6dd5aadf5a892ef1f713d2ab65605f2f4ef (patch) | |
tree | 7e8f49cd8b66d0c5bf0973ec8405b33fe38a8405 /spec/spec/build-ada-test-program.yml | |
parent | 58f5f036bf85a8ded2b75c3af1fe7693b3fdead8 (diff) |
spec: Add specification of build items
Diffstat (limited to 'spec/spec/build-ada-test-program.yml')
-rw-r--r-- | spec/spec/build-ada-test-program.yml | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/spec/spec/build-ada-test-program.yml b/spec/spec/build-ada-test-program.yml new file mode 100644 index 00000000..92272940 --- /dev/null +++ b/spec/spec/build-ada-test-program.yml @@ -0,0 +1,72 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: spec-member + uid: root +- role: spec-refinement + spec-key: build-type + spec-value: ada-test-program + uid: build +spec-description: null +spec-example: null +spec-info: + dict: + attributes: + ada-main: + description: | + It shall be the path to the Ada main body file. + spec-type: str + ada-object-directory: + description: | + It shall be the path to the Ada object directory (``-D`` option value for ``gnatmake``). + spec-type: str + adaflags: + description: | + It shall be a list of options for the Ada compiler. + spec-type: list-str + adaincludes: + description: | + It shall be a list of Ada include paths. + spec-type: list-str + cflags: + description: null + spec-type: build-cflags + cppflags: + description: null + spec-type: build-cppflags + includes: + description: null + spec-type: build-includes + ldflags: + description: null + spec-type: build-ldflags + source: + description: null + spec-type: build-source-list + stlib: + description: | + It shall be a list of external static library identifiers used to + link this test program, e.g. ``m`` for ``libm.a``. + spec-type: list-str + target: + description: null + spec-type: build-target + use-after: + description: null + spec-type: build-use-after-list + use-before: + description: null + spec-type: build-use-before-list + description: | + This set of attributes specifies an Ada test program executable to build. + Test programs may use additional objects provided by + :ref:`SpecTypeBuildObjectsItemType` items. Test programs have an + implicit ``enabled-by`` attribute value which is controlled by the option + action :ref:`set-test-state <SpecTypeBuildOptionItemType>`. If the test + state is set to ``exclude``, then the test program is not built. + required-attributes: all +spec-name: Build Ada Test Program Item Type +spec-type: build-ada-test-program +type: spec |