subprojects/meson-docs/docs/yaml/modules/cmake/options.yaml
raw| 1 | name: cmake_options |
| 2 | long_name: CMake subproject options |
| 3 | description: Central configuration object for CMake subprojects |
| 4 | since: 0.55.0 |
| 5 | |
| 6 | methods: |
| 7 | - name: add_cmake_defines |
| 8 | returns: void |
| 9 | description: Add CMake defines (`-D<VAR>=<VAL>`) to the CMake commandline |
| 10 | |
| 11 | varargs: |
| 12 | name: defines |
| 13 | description: A `key` `value` map of CMake defines to add (`-D<key>=<val>`) |
| 14 | type: dict[str] |