diff options
Diffstat (limited to 'docs/yaml/modules')
-rw-r--r-- | docs/yaml/modules/cmake/module.yaml | 8 | ||||
-rw-r--r-- | docs/yaml/modules/cmake/options.yaml | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/docs/yaml/modules/cmake/module.yaml b/docs/yaml/modules/cmake/module.yaml new file mode 100644 index 0000000..1fa5064 --- /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 0000000..d39132c --- /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<VAR>=<VAL>`) to the CMake commandline + + varargs: + name: defines + description: A `key` `value` map of CMake defines to add (`-D<key>=<val>`) + type: dict[str] |