Skip to content

build: one source/group fragment per component instead of central source lists #3235

Closed

Description

@zackees

Turn libobs/build/source-sets.json / libobs/cmake/sources.cmake and the central group registrations into one fragment per component beside its build/ directory, collected at configure time (obs-build and cmake/cross read the same fragments). ci_scope treats a fragment as that component's path.

Part of #3232. RED: a ci/ test pins the new layout and its ci_scope mapping; GREEN: the move. Done when an edit of the kind described starts only the lanes it affects.

Activity

  1. added
    infraBuild, gate, CI and tooling
    P2Normal priority
    on Oct 31, 2026
  2. zackees commented on Oct 31, 2026

    @zackees
    MemberAuthor

    /ready

  3. zackees commented on Oct 31, 2026

    @zackees
    MemberAuthor

    Claiming: taking this (part of #3232). Scoping: libobs/build/source-sets.json was edited by 147 commits since 2026-08-01 (every port moves a file between its lists), making it the main rebase/merge-conflict hotspot that forces PR re-runs; its OS lists (LIBOBS_WINDOWS_, LIBOBS_MACOS_) also hide platform edits from the path-based scope. Plan: one file per set under libobs/build/source-sets.d/ with OS-named files for host sets, consumers (libobs/cmake/sources.cmake, rust/obs-build, ci tests, tools/conversion) read the directory; RED test first. Other components' sources.cmake follow in later PRs.

  4. self-assigned this
    on Oct 31, 2026
  5. zackees commented on Oct 31, 2026

    @zackees
    MemberAuthor

    Done for libobs in #3280 (merged a6b5a96). Remaining single-file source sets (frontend, obs-nvenc, mac-capture, shared/qt/wrappers, cmake/graphics-source-sets.json) can follow under #3232 if they become hotspots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2Normal priorityinfraBuild, gate, CI and toolingreadyMeets the definition of Ready; claimablesize:MAbout a day

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions