OMNI_NO_EXTERN_CONSTS
MACRO

OMNI_NO_EXTERN_CONSTS - If defined, Omni constants will not have external linkage

SYNOPSIS top

If this macro is defined, the constants within the Omni framework will not be extern'd and instead will exist as const values in the headers to be included.

DESCRIPTION top

The constant string values in the framework are marked extern as their default linkage. To change this behavior to have all string constants be marked as static instead of extern you can define this macro option, there's no additional files to exclude as this flag disables portions of the code that pertain to the extern values.

CONSIDERATIONS top

Know that you are changing the linkage from static to extern with regards to the constant values in the Omni framework.

PLATFORM SPECIFIC top

No platform specific notes.

NOTES top

The extern'd values reside in framework.cpp (which is always built with the framework, but if the macro is enabled, the extern portions are not compiled in).