ores.cmake.service
Table of Contents
This page is the node for the ores.cmake.service facet of the codegen
template library, part of the ores.cmake technical space. Each archetype
below is documented, and holds its mustache source, in its own
linked page — this page is the facet-level summary and the routing
table to them.
Summary
One template: src/CMakeLists.txt for a .service component
(component-service profile). Splits sources into a library
(everything except main.cpp, linking the sibling core via
{{core_full_name}}.lib) and the service executable (main.cpp only).
The ores.cmake.service facet
A sibling variant of ores.cmake.component's src archetype, split out
because the service flavour has a two-target shape (library + exe)
the others don't. An earlier, standalone-service src variant with
no sibling-core dependency (cmake_service_src.mustache, the
pre-regroup shape) was confirmed dead — zero profile or code
references, no generated output anywhere — and deleted.
Mustache incantations
No constructs beyond the group's shared conventions and the
{{core_full_name}} interpolation for the sibling-core link.
Archetypes
| Archetype | Description |
|---|---|
| ores.cmake.service.src | src/CMakeLists.txt for a .service component (component-service profile): splits the sources into a library (everything except main.cpp, linking the sibling core via {{core_full_name}}.lib) and the service executable (main.cpp only). Output projects/{component_full}/src/CMakeLists.txt. |
See also
- ores.cmake — the parent technical space's generated facet/archetype catalogue and shared Mustache conventions.
- Other Technical Spaces § "CMake Technical Space" — the domain-concept overview of this technical space.
- Codegen template library — the groups overview.