Create custom error on release build
-
11-06-2021 - |
Pergunta
Is there any way I can create a custom error message that displays as a reminder to myself and other colleagues that there is unfinished code in the app, if they try and do a release build?
Thanks for any help.
Solução
How about:
#ifndef DEBUG
#error Don't release this
#endif
Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow