-
Notifications
You must be signed in to change notification settings - Fork 266
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
Does APP_SHORT_COMMANDS work with CMake? #972
Comments
No, it doesn't. I'll have to dig around later and see if I can figure out the way to do this in CMake. It will be part of CMake proper rather than part of our interface, if that helps your search. |
I believe this answer can help. With gradle, you can pass
but maybe it's easier to keep them in the top CMakeLists.txt. |
Ah! Thanks for the link. |
This is probably worth us mentioning in the |
I haven't heard of this being a problem in a very long time. Maybe CMake is automatically enabling this when needed? I generally want to avoid repeating the CMake docs in our own docs, but if this is still relevant lmk and I can reopen. |
ndk-build allows passing APP_SHORT_COMMANDS through gradle dsl but I can't find any documentation regarding the CMake equivalent or if the same works with CMake as well.
Just using APP_SHORT_COMMANDS=true as an argument for CMake in gradle results in an error because it is interpreted incorrectly. -DAPP_SHORT_COMMANDS does work but it can mean a custom preprocessor definition to CMake as well and I don't know if it has any effect. Neither me nor my teammates have a windows machine to test it completely and I felt it is easier to ask you folks.
The text was updated successfully, but these errors were encountered: