Skip to content

Commit d0058b7

Browse files
author
AnotherCommander
committed
Added test release build identification in help text output.
This feature is added as an exception to the no new features rule in 1.92.1 to assist OoliteStarter.
1 parent 2d8e970 commit d0058b7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/SDL/main.m

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@ int main(int argc, char *argv[])
192192
"\n"
193193
"Options marked with \"*\" are available only in Test Release configuration.\n"
194194
"Version "OO_VERSION_FULL"\n"
195+
"Debug functionality enabled (Test Release): "
196+
#ifndef NDEBUG
197+
"yes\n"
198+
#else
199+
"no\n"
200+
#endif
195201
"Built with "
196202
#if OOLITE_HAVE_CLANG
197203
"Clang version " STRINGIFY(__clang_major__) "." STRINGIFY(__clang_minor__) "." STRINGIFY(__clang_patchlevel__)

0 commit comments

Comments
 (0)