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

Disable feature enabled in config.h #166

Closed
adamws opened this issue Oct 26, 2024 · 2 comments
Closed

Disable feature enabled in config.h #166

adamws opened this issue Oct 26, 2024 · 2 comments

Comments

@adamws
Copy link

adamws commented Oct 26, 2024

Readme mentions enabling/disabling features, but apparently this does not work when trying to disable something which is enabled in config.h already, for example:

raylib_artifact.defineCMacro("SUPPORT_SCREEN_CAPTURE", "0");

will have no effect since -Dxxx=y compiler flag does not overwrite value included from header.
I think that build system must patch/overwrite config.h to turn features off (which I'm not even sure is possible right now)

Related raysan5/raylib#4411

@Not-Nik
Copy link
Owner

Not-Nik commented Oct 29, 2024

I can't fix this on the binding side. I'm also just at the mercy of raylib's build script.

@Not-Nik Not-Nik closed this as not planned Won't fix, can't repro, duplicate, stale Oct 29, 2024
@adamws
Copy link
Author

adamws commented Oct 29, 2024

Perhaps you could make it clear in readme which now suggest otherwise

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