Skip to content

Package the module interface units - #1599

Draft
trueqbit wants to merge 1 commit into
feature/public-config-headerfrom
feature/module-packaging
Draft

trueqbit wants to merge 1 commit into
feature/public-config-headerfrom
feature/module-packaging

Conversation

@trueqbit

Copy link
Copy Markdown
Collaborator

Stacked on #1598.

An installed sqlite_orm ships <sqlite_orm/sqlite_orm.h> and <sqlite_orm/sqlite_orm_config.h>, but no module interface unit, so import sqlite_orm; works only in a build of the source tree. packaging/CMakeLists.txt installs the module file set of target sqlite_orm, which has none; the file set belongs to sqlite_orm_module, which is neither installed nor exported.

For now this PR holds the plan, docs/plans/2026-10-18-module-interface-unit-packaging.md: ship the interface unit via CMake's FILE_SET CXX_MODULES install and export, for CMake consumers to build the module themselves. It lists the open questions, and why a tool-agnostic way is out of reach as of CMake 4.5.

🤖 Generated with Claude Code

This branch has not been deployed

No deployments
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.

1 participant