Skip to content

cmake: support LINK_ONLY generator expression#15914

Open
millaker wants to merge 1 commit into
mesonbuild:masterfrom
millaker:add-link-only
Open

cmake: support LINK_ONLY generator expression#15914
millaker wants to merge 1 commit into
mesonbuild:masterfrom
millaker:add-link-only

Conversation

@millaker

@millaker millaker commented Jun 9, 2026

Copy link
Copy Markdown

$<LINK_ONLY:dep> adds a dependency to the link interface without propagating its compile interface. Meson does not distinguish between compile and link usage requirements at this stage, so treat it as identity in the generator expression parser.

$<LINK_ONLY:dep> adds a dependency to the link interface without
propagating its compile interface. Meson does not distinguish between
compile and link usage requirements at this stage, so treat it as
identity in the generator expression parser.
@bonzini bonzini added this to the 1.13 milestone Jun 20, 2026
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