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

Create some toplevel cmake defines to disable certain features #140

Closed
jackjansen opened this issue Aug 22, 2024 · 1 comment
Closed

Create some toplevel cmake defines to disable certain features #140

jackjansen opened this issue Aug 22, 2024 · 1 comment

Comments

@jackjansen
Copy link
Contributor

If we add toplevel defines to disable features that are unimplementable on certain platforms that should greatly help the port to Android (and possibly to other platforms).

A few come to mind:

  • CWIPC_WITHOUT_PYTHON disables all Python interfaces.
  • CWIPC_WITHOUT_APPS disables all applications.
  • CWIPC_WITHOUT_GLFW disables cwipc_window(), no need for glfw and OpenGL.

For the camera support we have to see whether to disable them all in one fell swoop, or maybe simply have them not be built if the corresponding API package isn't available.

@jackjansen
Copy link
Contributor Author

This was implemented as part of the Android port.

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

1 participant