OMNI_MODULE_GLOBALS_BUILD_CONFIG_SYMBOLS

Defined in omni/core/Omni.h

OMNI_MODULE_GLOBALS_BUILD_CONFIG_SYMBOLS()

Defines global symbols intended to be used to statically analyze whether a given plugin is a debug or release build. In a debug build, the g_carbIsDebugConfig symbol will be present. In a release build, the g_carbIsReleaseConfig symbol will be present. These symbols are not intended to be used at runtime, but rather to be able to determine the build configuration without having to load up the module in a process first.

These symbols are only present on non-Windows builds. They can be found with a command line similar to this: nm <modulePath> | grep g_carbIsDebugConfig or nm <modulePath> | grep g_carbIsReleaseConfig

On Windows, each module’s “properties” window will list “(Debug)” in the “Product Name” field of the “Details” tab for debug builds.