Kiwano Engine v1.2.x
config.h
1//-----------------------------------------------------------------------------
2// Compile-time configurations for Kiwano
3//-----------------------------------------------------------------------------
4
5#pragma once
6
7//---- Define assertion handler. Defaults to calling assert()
8//#define KGE_ASSERT(EXPR) MyAssert(EXPR)
9//#define KGE_ASSERT(EXPR) __noop // Disable asserts
10
11//---- Define debug-output handler. Defaults to calling kiwano::logs::Messageln()/Warningln()/Errorln()
12//#define KGE_LOGF(FORMAT, ...) printf(FORMAT "\n", __VA_ARGS__)
13//#define KGE_WARNF(FORMAT, ...) printf(FORMAT "\n", __VA_ARGS__)
14//#define KGE_ERRORF(FORMAT, ...) printf(FORMAT "\n", __VA_ARGS__)
15
16//---- Define attributes of all API symbols declarations for DLL
17//#define KGE_USE_DLL
18//#define KGE_EXPORT_DLL
19
20//---- Define DirectX version. Defaults to using Direct3D11
21//#define KGE_USE_DIRECTX10
22
23//---- Define to enable DirectX debug layer
24//#define KGE_ENABLE_DX_DEBUG