42 lines
1.3 KiB
C
42 lines
1.3 KiB
C
//---
|
|
// config - Compile-time generate configuration
|
|
//---
|
|
|
|
#ifndef GINT_CONFIG
|
|
#define GINT_CONFIG
|
|
|
|
#include <gint/defs/types.h>
|
|
|
|
/* GINT_VERSION: Latest tag and number of additional commits
|
|
"2.1.0" = Release 2.1.0
|
|
"2.1.1-5" = 5 commits after release 2.1.1 */
|
|
#define GINT_VERSION "@GINT_GIT_VERSION@"
|
|
|
|
/* GINT_HASH: Commit hash with 7 digits
|
|
0x03f7c0a0 = Commit 3f7c0a0 */
|
|
#define GINT_HASH 0x@GINT_GIT_HASH@
|
|
|
|
/* GINT_NO_OS_STACK: Disables using a chunk of the OS stack as a heap. The top
|
|
section covering 355/512 ko is otherwise used. (fx-CG 50) */
|
|
#cmakedefine GINT_NO_OS_STACK
|
|
|
|
/* GINT_USER_VRAM: Selects whether to store VRAMs in the user stack or in the
|
|
OS stack. Deprecated, now controlled by GINT_NO_OS_STACK. (fx-CG 50) */
|
|
#cmakedefine GINT_USER_VRAM
|
|
|
|
#ifdef GINT_USER_VRAM
|
|
# define GINT_NO_OS_STACK
|
|
#endif
|
|
|
|
/* GINT_STATIC_GRAY: Selects whether additional gray VRAMs are allocated
|
|
statically or in the system heap (fx-9860G) */
|
|
#cmakedefine GINT_STATIC_GRAY
|
|
|
|
/* GINT_KMALLOC_DEBUG: Selects whether kmalloc debug functions are enabled
|
|
(these are mainly data structure integrity checks and information that make
|
|
sense for a developer). This is independent from statistics, which can be
|
|
enabled or disabled at runtime. */
|
|
#cmakedefine GINT_KMALLOC_DEBUG
|
|
|
|
#endif /* GINT_CONFIG */
|