Skip to content

frontend: utility, app sources and features in unity groups - #1242

Merged
zackees merged 1 commit into
masterfrom
port/frontend-groups-3
Oct 17, 2026
Merged

zackees merged 1 commit into
masterfrom
port/frontend-groups-3

Conversation

@zackees

@zackees zackees commented Oct 17, 2026

Copy link
Copy Markdown
Member

This is the third frontend batch for BUILD.md. It covers:

  • ui-utility;
  • the top-level app sources (OBSApp, OBSStudioAPI, obs-main);
  • the browser panels, GPU status, Idian playground, importers, plugin manager, Restream, Twitch and YouTube features.

Grouping:

  • Own groups: the sources a C test builds alone and those on the unity skip list. The latter leave the list.
  • Plugin manager: the three files test_plugin_manager builds alone get their own groups. So does each OS module loader (Linux, Flatpak, BSD), because each build generates only its own LoaderPaths header.
  • moc includes: the #include "moc_*.cpp" lines are removed as in the previous batches. The test CMake files and the ci/ tests that read these sources name the new files.

Verification:

  • Linux with the frontend on: the whole build_host tree builds.
  • 53 frontend and utility C tests pass, except test_x11_hotkey_layout. That test depends on the desktop's keyboard layout and passes under Xvfb.
  • ./lint passes.

The OS files (os-*.cmake) and the features they share files with (whatsnew, sparkle, macos-update) are left for a final batch.

ui-utility, the top-level app sources (OBSApp, OBSStudioAPI, obs-main) and
the browser panels, GPU status, Idian playground, importers, plugin manager,
Restream, Twitch and YouTube features compile through unity groups in
frontend/build/ (BUILD.md). Sources a C test builds alone (the utility
helpers, the plugin manager's three) and those on the unity skip list get
groups of their own, and leave the list. Each plug-in module loader (Linux,
Flatpak, BSD) has its own group and header: a build generates only its own
LoaderPaths header. The #include "moc_*.cpp" lines go as before; the tests
and ci/ tests that read these sources name the new files.
@zackees
zackees merged commit 802b6b0 into master Oct 17, 2026
zackees added a commit that referenced this pull request Oct 17, 2026
#1242 lengthened the add_executable line past gersemi's limit without the
reformat, so ./lint failed on master.
chriscoveries pushed a commit to chriscoveries/obsrust-fork that referenced this pull request Oct 17, 2026
…ent (obs-rust#1251)

obs-rust#1242 moved the frontend into unity groups and renamed
PluginModuleLoader_Linux.cpp to PluginModuleLoader_Linux.cpp.hpp. The
comment that obs-rust#1227 added to feature-plugin-manager.cmake still named the
old file. Comment only; no build change.

Refs obs-rust#1084

Co-authored-by: Claude Opus 5.5 <[email protected]>
@zackees
zackees deleted the port/frontend-groups-3 branch October 26, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant