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

Switch ANGLE to release mode #16

Open
treeswift opened this issue Jan 8, 2022 · 3 comments
Open

Switch ANGLE to release mode #16

treeswift opened this issue Jan 8, 2022 · 3 comments

Comments

@treeswift
Copy link

The present ANGLE integration builds it in debug mode.
Upon troubleshooting major ANGLE use cases, it should be switched to release (-DCMAKE_BUILD_TYPE=DEBUG removed).

Originally posted by @treeswift in #11 (comment)

@pahaze
Copy link
Member

pahaze commented Jan 8, 2022

Sounds good, but maybe we should make a switchable build type for it when it's ready to be used in Release mode? Just for any other/new issues that arise. Maybe like making two targets. One being angle.mk and the other being angle-debug.mk and on complete build, the opposite build type's "install" file is removed from usr/armv7-w64-mingw32/installed/angle*. Basically installing angle-debug will remove ANGLE as Release (if installed) and the "install" file (usr/armv7-w64-mingw32/installed/angle), then install ANGLE as Debug, or vice versa.

@treeswift
Copy link
Author

What's the standard way of building components in debug mode in mxe? (Ideally, avoiding full dependent tree rebuilding if the rebuilt artifacts are shared libraries.)

@pahaze
Copy link
Member

pahaze commented Jan 8, 2022

There isn't one 😂

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