-
Notifications
You must be signed in to change notification settings - Fork 195
/
common-defines.xml
56 lines (53 loc) · 3.45 KB
/
common-defines.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<xml>
<flag value="-DHXCPP_DEBUG" if="debug" />
<flag value="-DSTATIC_LINK" if="static_link" tag="static" />
<flag value="-DHXCPP_EXE_LINK" if="exe_link" tag="static" />
<flag value="-DHXCPP_ARM64" if="HXCPP_ARM64"/>
<flag value="-DHXCPP_ARMV7" if="HXCPP_ARMV7"/>
<flag value="-DHXCPP_M64" if="HXCPP_M64||HXCPP_ARM64||HXCPP_X86_64"/>
<flag value="-DHXCPP_VISIT_ALLOCS" tag="haxe" />
<flag value="-Dhaxe_210" if="haxe_210" tag="haxe" />
<flag value="-DHXCPP_FLOAT32" if="HXCPP_FLOAT32" tag="haxe" />
<flag value="-DHXCPP_CHECK_POINTER" if="HXCPP_CHECK_POINTER" tag="haxe" />
<flag value="-DHXCPP_STACK_TRACE" if="HXCPP_STACK_TRACE" tag="haxe" />
<flag value="-DHXCPP_TELEMETRY" if="HXCPP_TELEMETRY" tag="haxe" />
<flag value="-DHXCPP_PROFILER" if="HXCPP_PROFILER" tag="haxe" />
<flag value="-DHXCPP_PROFILE_EXTERNS" if="HXCPP_PROFILE_EXTERNS" tag="debug" />
<flag value="-DHXCPP_STACK_LINE" if="HXCPP_STACK_LINE" tag="haxe" />
<flag value="-DHXCPP_STACK_VARS" if="HXCPP_STACK_VARS" tag="haxe" />
<flag value="-DHXCPP_DEBUGGER" if="HXCPP_DEBUGGER" tag="haxe" />
<flag value="-DHXCPP_PARANOID" if="HXCPP_PARANOID" tag="haxe" />
<flag value="-DHXCPP_GC_MOVING" if="HXCPP_GC_MOVING" tag="gc" />
<flag value="-DHXCPP_GC_BIG_BLOCKS" if="HXCPP_GC_BIG_BLOCKS" tag="gc" />
<flag value="-DHXCPP_GC_SUMMARY" if="HXCPP_GC_SUMMARY" tag="gc" />
<flag value="-DHXCPP_GC_DYNAMIC_SIZE" if="HXCPP_GC_DYNAMIC_SIZE" tag="gc" />
<flag value="-DHXCPP_GC_CHECK_POINTER" if="HXCPP_GC_CHECK_POINTER" tag="haxe" />
<flag value="-DHXCPP_GC_DEBUG_ALWAYS_MOVE" if="HXCPP_GC_DEBUG_ALWAYS_MOVE" tag="haxe" />
<flag value="-DHXCPP_GC_GENERATIONAL" if="HXCPP_GC_GENERATIONAL" tag="haxe" />
<flag value="-DHXCPP_ALIGN_ALLOC" if="HXCPP_ALIGN_ALLOC" tag="haxe" />
<flag value="-DHXCPP_GC_NURSERY" if="HXCPP_GC_NURSERY" tag="haxe" />
<flag value="-DHXCPP_DLL_IMPORT" if="dll_import" tag="haxe" />
<flag value="-I${dll_import_include}" if="dll_import_include" tag="haxe" />
<flag value="-DHXCPP_DLL_EXPORT" if="dll_export||dll_link" tag="haxe" />
<flag value="-DHXCPP_SCRIPTABLE" if="scriptable" tag="haxe" />
<flag value="-DHXCPP_SINGLE_THREADED_APP" if="HXCPP_SINGLE_THREADED_APP" tag="haxe" />
<flag value='-DHX_SMART_STRINGS' if="hxcpp_smart_strings" tag="haxe" />
<flag value='-DHXCPP_CATCH_SEGV' if="HXCPP_CATCH_SEGV" tag="haxe" />
<flag value='-DHXCPP_API_LEVEL=${removeQuotes:hxcpp_api_level}' if="hxcpp_api_level" tag="haxe" />
<flag value='-DHXCPP_API_LEVEL=0' unless="hxcpp_api_level" tag="haxe"/>
<flag value='-DHXCPP_OBJC' if="objc" tag="haxe"/>
<flag value='-DHXCPP_GC_DEBUG_LEVEL=${HXCPP_GC_DEBUG_LEVEL}' if="HXCPP_GC_DEBUG_LEVEL" tag="gc" />
<flag value='-DHXCPP_GC_VERIFY' if="HXCPP_GC_VERIFY" tag="gc" />
<flag value='-DHXCPP_WINXP_COMPAT' if="HXCPP_WINXP_COMPAT" tag="haxe"/>
<!-- fwd these defines into haxe target so we can check for it in telemetry -->
<flag value="-DHXCPP_GC_MOVING" if="HXCPP_GC_MOVING" tag="haxe" />
<flag value="-DHXCPP_GC_GENERATIONAL" if="HXCPP_GC_GENERATIONAL" tag="haxe" />
<!-- tracy features -->
<flag value='-DHXCPP_TRACY' if="HXCPP_TRACY" tag="haxe"/>
<flag value='-DHXCPP_TRACY_MEMORY' if="HXCPP_TRACY_MEMORY" tag="haxe"/>
<flag value='-DHXCPP_TRACY_NO_EXIT' if="HXCPP_TRACY_NO_EXIT" tag="haxe"/>
<flag value='-DHXCPP_TRACY_ON_DEMAND' if="HXCPP_TRACY_ON_DEMAND" tag="haxe"/>
<flag value='-DHXCPP_TRACY_INCLUDE_CALLSTACKS' if="HXCPP_TRACY_INCLUDE_CALLSTACKS" tag="haxe"/>
<mmflag value='-Wno-invalid-offsetof' />
<mmflag value='-Wno-format-security' />
</xml>