Skip to content

build: audit the remaining central build lists (test/cmocka/CMakeLists.txt, CMakePresets.json) #3236

Closed

Description

@zackees

test/cmocka/tests.d/ already registers tests per file. Audit what still forces edits to test/cmocka/CMakeLists.txt, CMakePresets.json and the root CMakeLists.txt and move per-component or per-platform facts out of them.

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
    P3Low 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). Audit since 2026-08-01: test/cmocka/CMakeLists.txt (90 commits) is mostly global warning flags, which really are shared. The port-driven hotspots are libobs/CMakeLists.txt (72 commits, 47 of them ports: per-source COMPILE_OPTIONS such as #3143's -ffp-contract=off, and header lists), os-linux.cmake + os-freebsd.cmake (31 each, the same port edit made twice), and ci/test_ported_sources.py's central object list. Plan: the per-unit libobs/build/ported-source-sets/.json gains optional fields (headers, per-source compile options, nix host sets) that CMake applies and the ci test derives from, so a port touches only its own unit file. RED first.

  4. self-assigned this
    on Oct 31, 2026
  5. moved this from Ready to In progress in obs-rust Multiviewon Oct 31, 2026
  6. zackees commented on Oct 31, 2026

    @zackees
    MemberAuthor

    Done in #3293 (merged 50dad86).

  7. moved this from In progress to Done in obs-rust Multiviewon Nov 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P3Low priorityinfraBuild, gate, CI and toolingreadyMeets the definition of Ready; claimablesize:SHours

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions