StormByte - Build Master
Loading...
Searching...
No Matches
helpers.cmake
Go to the documentation of this file.
1# =============================================================================
2# component/helpers.cmake — include stub only
3# =============================================================================
4# Public entry for the component DSL. Nested bootstraps include this file.
5# Functionality lives in sibling modules (one file per job).
6
7include("${CMAKE_CURRENT_LIST_DIR}/../log.cmake")
8
9# Parse KEY=value options, library specs, whole-archive item lists.
10include("${CMAKE_CURRENT_LIST_DIR}/options.cmake")
11
12# Registry, _bm_graph_create, buildmaster_depend / link / prerequisite.
13include("${CMAKE_CURRENT_LIST_DIR}/graph.cmake")
14
15# Inspectable hooks (on_component_materialize / on_graph_finalized).
16include("${CMAKE_CURRENT_LIST_DIR}/hooks.cmake")
17
18# Meta components (no sources; membership + INTERFACE).
19include("${CMAKE_CURRENT_LIST_DIR}/meta.cmake")
20
21# Outline groups (banners + walk order; no targets).
22include("${CMAKE_CURRENT_LIST_DIR}/group.cmake")
23
24# Meta TOOLCHAIN → members / graph dests (empty child inherits).
25include("${CMAKE_CURRENT_LIST_DIR}/toolchain_inherit.cmake")
26
27# Static archive merge (REPACK on buildmaster_meta).
28include("${CMAKE_CURRENT_LIST_DIR}/repack.cmake")
29
30# Post-install helpers (were under tools/).
31include("${CMAKE_CURRENT_LIST_DIR}/archive/helpers.cmake")
32include("${CMAKE_CURRENT_LIST_DIR}/rename/variants.cmake")
33include("${CMAKE_CURRENT_LIST_DIR}/pkgconfig/helpers.cmake")
34
35# Install oficios (rename / outputs / strip_res / pc) before backends/stages.
36include("${CMAKE_CURRENT_LIST_DIR}/install_rules/helpers.cmake")
37
38# Deferred materialize + fragment emit + finalize.
39include("${CMAKE_CURRENT_LIST_DIR}/materialize.cmake")
40
41# CMake / Meson backends.
42include("${CMAKE_CURRENT_LIST_DIR}/backend/helpers.cmake")
43
44include("${CMAKE_CURRENT_LIST_DIR}/factory.cmake")
45
46# Transitive link dumps (${BUILDMASTER_LINKS_DIR}/<id>.cmake).
47include("${CMAKE_CURRENT_LIST_DIR}/links/helpers.cmake")
48
49# Stage stamp (tree digest + patch re-apply). Templates include it again at -P.
50include("${CMAKE_CURRENT_LIST_DIR}/stamp/gate.cmake")
51
52# Verbose configure dump (after the graph API exists).
53include("${CMAKE_CURRENT_LIST_DIR}/../report/helpers.cmake")