Open main menu

Difference between revisions of "Defines"

387 bytes added ,  09:56, 8 October 2010
New section with defines, which might be useful for release builds. Also move the NDEBUG define to that section since it actually disables assertions, thus it did not realy belong to the debug section
(→‎Defines to enable platform specific optional features: locale detection is supported on Windows, clarify that by removing "(?)".)
(New section with defines, which might be useful for release builds. Also move the NDEBUG define to that section since it actually disables assertions, thus it did not realy belong to the debug section)
Line 697: Line 697:
|-
|-
| LAYOUT_DEBUG_DIALOG
| LAYOUT_DEBUG_DIALOG
|
|
|
|-
| NDEBUG
|
|
|
|
Line 790: Line 785:
|
|
|
|
|}
==Defines useful for release builds==
{| border="1" cellspacing="0" cellpadding="2"
|-
! Token
! Defined by
! Used in
! Purpose
|-
| RELEASE_BUILD
| The build system.
|
| This is (and should be) defined for all release builds.
|-
| NDEBUG
|
|
| This define disables all assertions. We usually do not set this, i.e. ship releases with assertions.
|}
|}


Line 989: Line 1,004:
|-
|-
| REG_EXMEMCNT
| REG_EXMEMCNT
|
|
|
|-
| RELEASE_BUILD
|
|
|
|
Line 1,019: Line 1,029:
|-
|-
| SCUMMVM_SVN_REVISION
| SCUMMVM_SVN_REVISION
| The build system.
|
|
|
| Appends the specified revision number to the version string.
|
|-
|-
| SCUMM_IMUSE_INTERNAL
| SCUMM_IMUSE_INTERNAL
561

edits