Skip to content

feat(cpp): support generator expression for SLINT_EMBED_RESOURCES & SLINT_SCALE_FACTOR#6429

Merged
tronical merged 2 commits into
slint-ui:masterfrom
ArcticLampyrid:patch-1
Oct 2, 2024
Merged

feat(cpp): support generator expression for SLINT_EMBED_RESOURCES & SLINT_SCALE_FACTOR#6429
tronical merged 2 commits into
slint-ui:masterfrom
ArcticLampyrid:patch-1

Conversation

@ArcticLampyrid
Copy link
Copy Markdown
Contributor

@ArcticLampyrid ArcticLampyrid commented Oct 2, 2024

Use case:
For the higher compilation speed, we hope to use as-absolute-path in Debug but embed-files in Release.

set_property(TARGET ${PROJECT_NAME} PROPERTY SLINT_EMBED_RESOURCES $<IF:$<CONFIG:Debug>,as-absolute-path,embed-files>)

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Oct 2, 2024

CLA assistant check
All committers have signed the CLA.

@ArcticLampyrid ArcticLampyrid changed the title feat(cpp): support generator expression for SLINT_EMBED_RESOURCES & ` feat(cpp): support generator expression for SLINT_EMBED_RESOURCES & SLINT_SCALE_FACTOR Oct 2, 2024
@ogoffart ogoffart requested a review from tronical October 2, 2024 09:27
Copy link
Copy Markdown
Member

@tronical tronical left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tronical tronical merged commit 132e091 into slint-ui:master Oct 2, 2024
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.

3 participants