Let the application own the MUSE_COMPILE_USE_PCH option - #254
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe top-level Merge Risk: ⚪ Minimal · up to The application now owns the PCH build option; consumers that do not declare it will build without PCH, while this repository enables it by default. No actionable merge-blocking risk remains beyond normal checks and review. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description clearly explains the change, motivation, behavior for consumers, and planned Audacity follow-up. However, it omits the required issue reference, checklist completion, and build configuration section from the repository template. Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
3ae534f to
015f2c3
Compare
015f2c3 to
82dc7f3
Compare
Removes the
MUSE_COMPILE_USE_PCHdeclaration fromMuseDeclareOptions.cmakeso the application owns the option, matching howMUSE_COMPILE_USE_UNITYalready works (declared app-side, consumed byDeclareModuleSetup.cmake/MuseCreateModule.cmake).Motivation: with the framework declaring it, an application wanting visibility/control of the default has to rely on
option()first-declaration-wins ordering (see review discussion in audacity/audacity#11795).Note for consumers: an application that does not declare
MUSE_COMPILE_USE_PCHnow builds without PCH (undefined → falsy in the gating checks). Audacity will declare it app-side when bumping the framework.