## The `cmake` template: a C/C++ project built with CMake through the ## debhelper cmake buildsystem. The skeleton bodies below are static data; ## the logic half — the project() probe and the wizard's pkg-config ## opt-in (appended to Build-Depends) — lives in src/new/templates/cmake.rs. ## hello.c.tpl duplicates the shared C skeleton of the other C/C++ ## template directories (see meson/manifest.yml for why). ## ## Schema: see src/new/templates/mod.rs. id: cmake label: C/C++ (CMake) detect: files: [CMakeLists.txt] build_depends: - cmake architecture: any rules_dh_line: "dh $@ --buildsystem=cmake" files: - path: CMakeLists.txt template: CMakeLists.txt.tpl - path: hello.c template: hello.c.tpl