-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathSettings.lua
More file actions
46 lines (42 loc) · 927 Bytes
/
Settings.lua
File metadata and controls
46 lines (42 loc) · 927 Bytes
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
newoption
{
trigger = "arch",
description = "Choose architecture you want to build for",
allowed = {
{ "x86", "32bit"},
{ "x64", "64bit"},
},
default = "x86"
}
newoption
{
trigger = "renderer",
description = "Choose renderer API you want to build for",
allowed = {
{ "DX8", "DirectX 8"},
{ "GL", "OpenGL"},
},
default = "DX8"
}
newoption
{
trigger = "profiler",
description = "Enable or disable Tracy profiler support",
allowed = {
{ "no", "Disable Tracy"},
{ "perf", "Enable Tracy"},
{ "perfmem", "Enable Tracy with memory debugging"},
},
default = "no"
}
newoption
{
trigger = "dlmalloc",
description = "Enable or disable dlmalloc instead of Toshi engine TMemory",
allowed = {
{ "no", "Use legacy Toshi memory allocator"},
{ "yes", "Use dlmalloc as a memory allocator"},
},
default = "no"
}
outputdir = ("%{cfg.buildcfg}_%{cfg.platform}_%{cfg.architecture}_" .. _OPTIONS["renderer"])