aboutsummaryrefslogtreecommitdiff
path: root/docs/yaml/modules/cmake/options.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'docs/yaml/modules/cmake/options.yaml')
-rw-r--r--docs/yaml/modules/cmake/options.yaml14
1 files changed, 14 insertions, 0 deletions
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]