Repository navigation
Expand file tree
/
Copy pathcompat.imgui.lua
More file actions
106 lines (103 loc) · 4.75 KB
/
Copy pathcompat.imgui.lua
File metadata and controls
106 lines (103 loc) · 4.75 KB
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
package = {
spec = "1",
namespace = "compat",
name = "imgui",
description = "Dear ImGui immediate-mode GUI library core sources",
licenses = {"MIT"},
repo = "https://github.com/ocornut/imgui",
type = "package",
extensions = {
autoupdate = {
tag = "v${version}",
url = "https://github.com/ocornut/imgui/archive/refs/tags/${tag}.tar.gz",
},
},
xpm = {
linux = {
-- No CN mirror credentials: use upstream URLs for the new releases.
["1.93.0"] = {
url = "https://github.com/ocornut/imgui/archive/refs/tags/v1.93.0.tar.gz",
sha256 = "f7bf6bc76e5d79d40d751096663e6c5d18daf08129dd52e7f7b09e4251c8eeee",
},
["1.93.0-docking"] = {
url = "https://github.com/ocornut/imgui/archive/refs/tags/v1.93.0-docking.tar.gz",
sha256 = "746c265540bd3aa109570f29492ef4d8f5b421dd9fd0049c35ca35f21496f1a5",
},
["1.92.8"] = {
url = {
GLOBAL = "https://github.com/ocornut/imgui/archive/refs/tags/v1.92.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/imgui/releases/download/1.92.8/imgui-1.92.8.tar.gz",
},
sha256 = "fecb33d33930e12ff53a34064e9d3a06c8f7c3e04408f14cd36c80e3faac863b",
},
["1.92.8-docking"] = {
url = {
GLOBAL = "https://github.com/ocornut/imgui/archive/refs/tags/v1.92.8-docking.tar.gz",
CN = "https://gitcode.com/mcpp-res/imgui/releases/download/1.92.8-docking/imgui-1.92.8-docking.tar.gz",
},
sha256 = "ca0653454ed371b7a87e9b0bc29a5d15c9be7f7c0fbe778042fc48c71df1d3d8",
},
},
macosx = {
["1.93.0"] = {
url = "https://github.com/ocornut/imgui/archive/refs/tags/v1.93.0.tar.gz",
sha256 = "f7bf6bc76e5d79d40d751096663e6c5d18daf08129dd52e7f7b09e4251c8eeee",
},
["1.93.0-docking"] = {
url = "https://github.com/ocornut/imgui/archive/refs/tags/v1.93.0-docking.tar.gz",
sha256 = "746c265540bd3aa109570f29492ef4d8f5b421dd9fd0049c35ca35f21496f1a5",
},
["1.92.8"] = {
url = {
GLOBAL = "https://github.com/ocornut/imgui/archive/refs/tags/v1.92.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/imgui/releases/download/1.92.8/imgui-1.92.8.tar.gz",
},
sha256 = "fecb33d33930e12ff53a34064e9d3a06c8f7c3e04408f14cd36c80e3faac863b",
},
["1.92.8-docking"] = {
url = {
GLOBAL = "https://github.com/ocornut/imgui/archive/refs/tags/v1.92.8-docking.tar.gz",
CN = "https://gitcode.com/mcpp-res/imgui/releases/download/1.92.8-docking/imgui-1.92.8-docking.tar.gz",
},
sha256 = "ca0653454ed371b7a87e9b0bc29a5d15c9be7f7c0fbe778042fc48c71df1d3d8",
},
},
windows = {
["1.93.0"] = {
url = "https://github.com/ocornut/imgui/archive/refs/tags/v1.93.0.tar.gz",
sha256 = "f7bf6bc76e5d79d40d751096663e6c5d18daf08129dd52e7f7b09e4251c8eeee",
},
["1.93.0-docking"] = {
url = "https://github.com/ocornut/imgui/archive/refs/tags/v1.93.0-docking.tar.gz",
sha256 = "746c265540bd3aa109570f29492ef4d8f5b421dd9fd0049c35ca35f21496f1a5",
},
["1.92.8"] = {
url = {
GLOBAL = "https://github.com/ocornut/imgui/archive/refs/tags/v1.92.8.tar.gz",
CN = "https://gitcode.com/mcpp-res/imgui/releases/download/1.92.8/imgui-1.92.8.tar.gz",
},
sha256 = "fecb33d33930e12ff53a34064e9d3a06c8f7c3e04408f14cd36c80e3faac863b",
},
["1.92.8-docking"] = {
url = {
GLOBAL = "https://github.com/ocornut/imgui/archive/refs/tags/v1.92.8-docking.tar.gz",
CN = "https://gitcode.com/mcpp-res/imgui/releases/download/1.92.8-docking/imgui-1.92.8-docking.tar.gz",
},
sha256 = "ca0653454ed371b7a87e9b0bc29a5d15c9be7f7c0fbe778042fc48c71df1d3d8",
},
},
},
mcpp = {
language = "c++23",
import_std = false,
include_dirs = {"*", "*/backends"},
sources = {
"*/imgui.cpp",
"*/imgui_draw.cpp",
"*/imgui_tables.cpp",
"*/imgui_widgets.cpp",
},
targets = { ["imgui"] = { kind = "lib" } },
deps = {},
},
}