This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathbuild.ini
59 lines (51 loc) · 1.96 KB
/
build.ini
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
57
58
59
# Runtime variables for build
[Hot]
reload = "on" #enables or disables hot reload
verbose_nil_check = "on" # enables error output ifValid macro fails nil check
[Compiler]
build_kind="danger" # danger, release, debug, or diagnostic
cc="gcc"
# set the compiler to gcc, visual studio compiler, or tiny c compiler
# valid values are gcc, vcc, tcc, respectively
mm="orc" # arc, orc, or refc, orc is needed for async / await cycles
# with nim 3b963a81, getting a crash with orc and useMalloc
useMalloc="off" # off: use nim's default, (TLSF) allocator, on: use C memory primitives (malloc, free, realloc)
incremental="off" # waiting for nim compiler to implement and fix {.pure.}
[Dir]
# godot project directory
app="app"
# nim files that hot reload stored here
comps="components"
# (advanced) godot-nim style used with task genlib and genclass, additional nim modules files stored here
# run "./build genlib" and "./build genclass" for more info
comps_src="components_src"
# location of the godot api, move to parent directory to make it shareable
deps="deps"
deps_godot="godot"
[App]
dll="_dlls"
gdns="_gdns"
gdnlib="_gdnlib"
tscn="_tscn"
[Godot]
src=r"C:\godot\geekrelief_godot"
base_branch="3.x"
build_branch="3.x_custom"
merge_branches="3.x_filter_import"
platform="windows"
bits="64"
scons_flags="vsproj=yes" # this passed to scons when building
tools_debug_bin=r"C:\godot\geekrelief_godot\bin\godot.windows.tools.64.exe"
tools_release_bin=r"C:\godot\geekrelief_godot\bin\godot.windows.opt.tools.64.exe"
[Build]
cwatch_interval = 300 #milliseconds, interval of nim file time checking
[GCC]
# strip: if on, compiles with -s like gcc's strip
# reduce the size of dlls, only works with build_kind: danger or release
strip="on"
# passes flto to compiler https://gcc.gnu.org/wiki/LinkTimeOptimization
# benchmark with release or danger
flto="off" #very slow to compile, not recommended with hot reloading
[VCC]
# specifies directory for pdb files, by default vcc puts them with the dlls
pdbdir="vcc_pdb"