Skip to content

build(libobs): split libobs-objects into per-module OBJECT libraries #3259

Closed

Description

@zackees

Scope

Behind obs_libobs_create_targets, create libobs-mod-<name> OBJECT libraries from the manifest. Move the PUBLIC usage requirements of libobs-objects (libobs/CMakeLists.txt:112-150) into one libobs-headers INTERFACE target, so that every module compiles with identical flags.

Acceptance criteria

Exported symbols are byte-identical on Linux, Windows and macOS (nm -D / dumpbin /exports / nm -gU diff), and cold build time is within ±5% of the baseline.

RED then GREEN where a check applies; record before and after build times. Parent: #3256.

Activity

  1. added
    infra
    P2
    size:L
    on Oct 31, 2026
  2. zackees commented on Oct 31, 2026

    @zackees
    MemberAuthor

    /investigate
    Blocked by #3258 (it reads the module manifest) and #3257 (the ±5% cold-build criterion needs the baseline). Ready once both close.

  3. added
    needs-investigation
    on Oct 31, 2026
  4. zackees commented on Nov 1, 2026

    @zackees
    MemberAuthor

    Claiming: #3259. Split libobs-objects into per-module OBJECT libraries driven by libobs/build/modules.d (#3258), with the shared usage requirements on one libobs-headers INTERFACE target. Verify with a byte-identical export-set diff on Linux (container) and Tier 2, plus a cold-build time against the #3257 baseline.

  5. github-actions commented on Nov 1, 2026

    @github-actions

    Claim bot: @zackees, this can't be claimed yet: it needs investigation before anyone can implement it. Comment Claiming: investigation to take the research.

  6. moved this from Investigating 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

No one assigned

    Labels

    P2infraneeds-investigationsize:L

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions