문제

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.

도움이 되었습니까?

해결책

How about:

#ifndef DEBUG
#error Don't release this
#endif
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top