Skip to content

DemoTool: fix the build after the alternate replay extension change - #3161

Open
tomjn wants to merge 1 commit into
beyond-all-reason:masterfrom
tomjn:fix/demotool-demo-extension-build
Open

DemoTool: fix the build after the alternate replay extension change#3161
tomjn wants to merge 1 commit into
beyond-all-reason:masterfrom
tomjn:fix/demotool-demo-extension-build

Conversation

@tomjn

@tomjn tomjn commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

DemoReader.cpp calls IsDemoExtension unconditionally but includes its header inside #ifndef TOOLS, and demotool never compiled DemoFileExtension.cpp. The tools build has been broken on every platform since alternate replay extensions landed in #2975. demotool is EXCLUDE_FROM_ALL, so CI does not build it.

IsDemoExtension already had a TOOLS branch, so the intent was there. Only the config-backed extension list needs excluding, since tools do not link the config subsystem.

DemoReader.cpp calls IsDemoExtension unconditionally but included its header
inside #ifndef TOOLS, and demotool never compiled DemoFileExtension.cpp. The
tools build has been broken on every platform since alternate replay extensions
landed. demotool is EXCLUDE_FROM_ALL so CI does not catch it.

IsDemoExtension already had a TOOLS branch, so the intent was there. Only the
config-backed extension list needs excluding, since tools do not link the config
subsystem.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants