Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A define in addons_config.mk to indicate what platforms are supported #581

Open
ofTheo opened this issue Oct 21, 2024 · 1 comment
Open

Comments

@ofTheo
Copy link
Member

ofTheo commented Oct 21, 2024

This way you can have a cross platform project where addons which are Linux only or Windows only can exist in the project's addons.make and if the addon isn't supported on a platform the PG doesn't add it.

We would prob make an empty define mean all for backwards compatibility but if it is defined it could be limited to just a few platforms eg for ofxAzureKinect

PLATFORMS=linux64,vs,msys2

@roymacdonald
Copy link
Contributor

This is a good idea
but just to keep in mind: addons_config.mk is used by the make filesystem, thus it needs to conform those standards but also have that in consideration so it those addons are handled properly both by PG and the make build system

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

No branches or pull requests

2 participants