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

Experiment with splitting modules and config.h flags again. #133

Open
planetis-m opened this issue Jul 29, 2024 · 1 comment
Open

Experiment with splitting modules and config.h flags again. #133

planetis-m opened this issue Jul 29, 2024 · 1 comment

Comments

@planetis-m
Copy link
Owner

raysan5/raylib#4193

@planetis-m
Copy link
Owner Author

planetis-m commented Oct 20, 2024

build.zig doesn't seem to bother with commented out defines (disabled by default). It only overrides already defined ones... The same can be achieved with {.passC: "-DSUPPORT...=1".} or by parsing config.h with raylib_parser and generating:

when defined(rlCustomFrameControl):
  {.passC: "-DSUPPORT_CUSTOM_FRAME_CONTROL=1".}

Moreover as discussed in #bindings-dev you can't undef from the command line defines in source code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant