Browse Source

Extended GetConfigurationString with state of more preprocessor symbols (#1074)

Andrea Catania 1 year ago
parent
commit
40dc67068b
1 changed files with 14 additions and 0 deletions
  1. 14 0
      Jolt/ConfigurationString.h

+ 14 - 0
Jolt/ConfigurationString.h

@@ -62,6 +62,20 @@ inline const char *GetConfigurationString()
 #ifdef JPH_FLOATING_POINT_EXCEPTIONS_ENABLED
 #ifdef JPH_FLOATING_POINT_EXCEPTIONS_ENABLED
 		"(FP Exceptions) "
 		"(FP Exceptions) "
 #endif
 #endif
+#ifdef JPH_DEBUG_RENDERER
+		"(Debug Renderer) "
+#endif
+#ifdef JPH_PROFILE_ENABLED
+		"(Profile) "
+#endif
+#if defined(JPH_OBJECT_LAYER_BITS) && JPH_OBJECT_LAYER_BITS == 32
+		"(32-bit ObjectLayer) "
+#else
+		"(16-bit ObjectLayer) "
+#endif
+#ifdef JPH_ENABLE_ASSERTS
+		"(Assertions) "
+#endif
 #ifdef JPH_DEBUG
 #ifdef JPH_DEBUG
 		"(Debug) "
 		"(Debug) "
 #endif
 #endif