Skip to content

Build macro plugin as host-bound subproject#11

Merged
keeshux merged 1 commit into
masterfrom
bugfix/build-host-macros
Feb 16, 2026
Merged

Build macro plugin as host-bound subproject#11
keeshux merged 1 commit into
masterfrom
bugfix/build-host-macros

Conversation

@keeshux

@keeshux keeshux commented Feb 16, 2026

Copy link
Copy Markdown
Owner

To enforce host target even when cross-compiling, because the macro plugin must run on the host machine regardless of the target it's bound to. ExternalProject is a quick way to avoid target inheritance when cross-compiling.

E.g. when cross-compiling for Android on a macOS machine, the SWON macro plugin must be built for macOS, but the SWON implementation (based on cJSON) must be built for Android.

To enforce host target even when cross-compiling.
@keeshux keeshux self-assigned this Feb 16, 2026
@keeshux keeshux added the bug Something isn't working label Feb 16, 2026
@keeshux
keeshux merged commit afd197f into master Feb 16, 2026
1 check passed
@keeshux
keeshux deleted the bugfix/build-host-macros branch February 16, 2026 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant