From 2b482e39a90fa1929e0fa4006861f4264f28adb2 Mon Sep 17 00:00:00 2001 From: Daniel Mensinger Date: Sat, 21 Aug 2021 16:27:56 +0200 Subject: docs: Add the YAML Reference manual --- docs/yaml/modules/cmake/module.yaml | 8 ++++++++ docs/yaml/modules/cmake/options.yaml | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 docs/yaml/modules/cmake/module.yaml create mode 100644 docs/yaml/modules/cmake/options.yaml (limited to 'docs/yaml/modules') diff --git a/docs/yaml/modules/cmake/module.yaml b/docs/yaml/modules/cmake/module.yaml new file mode 100644 index 000000000..1fa5064fb --- /dev/null +++ b/docs/yaml/modules/cmake/module.yaml @@ -0,0 +1,8 @@ +name: cmake +long_name: CMake module +description: The CMake module + +methods: +- name: subproject_options + description: Returns an empty `cmake_options` object. + returns: cmake_options diff --git a/docs/yaml/modules/cmake/options.yaml b/docs/yaml/modules/cmake/options.yaml new file mode 100644 index 000000000..d39132ce4 --- /dev/null +++ b/docs/yaml/modules/cmake/options.yaml @@ -0,0 +1,14 @@ +name: cmake_options +long_name: CMake subproject options +description: Central configuration object for CMake subprojects +since: 0.55.0 + +methods: +- name: add_cmake_defines + returns: void + description: Add CMake defines (`-D=`) to the CMake commandline + + varargs: + name: defines + description: A `key` `value` map of CMake defines to add (`-D=`) + type: dict[str] -- cgit v1.2.3