Repository navigation
Expand file tree
/
Copy pathmcpp.toml
More file actions
78 lines (67 loc) · 2.33 KB
/
Copy pathmcpp.toml
File metadata and controls
78 lines (67 loc) · 2.33 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
# Module wrapper; upstream API preserved. Policy: mcpp-index/docs/mwrap.md.
[package]
namespace = "mcpplibs.mwrap"
name = "imgui"
version = "1.92.8"
description = "Dear ImGui 1.92.8 core and GLFW/OpenGL3 backend modules for mcpp"
license = "Apache-2.0"
authors = ["mcpp-community"]
repo = "https://github.com/mcpplibs/imgui-m"
[lib]
path = "src/imgui.cppm"
# `src/app.cppm` is NOT here — it is behind the `app` feature below. Everything
# that remains corresponds to something upstream Dear ImGui actually ships:
# the core API, and the GLFW/OpenGL3 backends from upstream's own backends/.
[build]
sources = [
"src/imgui.cppm",
"src/macros.cppm",
"src/core.cppm",
"src/backends/backend.cppm",
"src/backends/platform_glfw.cppm",
"src/backends/renderer_opengl3.cppm",
"src/backends/glfw_opengl3.cppm",
"src/backends/headless.cppm",
"src/backends/glfw_impl.cpp",
"src/backends/opengl3_impl.cpp",
]
[features]
default = []
# app: the `imgui.app` facade — a run-loop that owns window and context
# lifecycle so a consumer supplies only a per-frame callback. It is THIS
# repository's invention, not part of Dear ImGui, which is exactly why it is
# opt-in: a consumer who wants the native ImGui API should not be handed a
# framework along with it.
app = { sources = ["src/app.cppm"] }
# docking: export the Dock* API surface and auto-enable
# ImGuiConfigFlags_DockingEnable in the imgui.app facade.
docking = []
# viewports: ImGui windows dragged outside the main window detach into real
# OS windows (multi-viewport). Usually combined with docking.
viewports = []
# Convenience bundle: the full docking experience (dockable panels + windows
# that detach into real OS windows). Equivalent to ["docking", "viewports"].
docking-full = ["docking", "viewports"]
[dependencies]
compat.imgui = "1.92.8-docking"
compat.glfw = "3.4"
compat.opengl = "2026.05.31"
[dev-dependencies]
compat.gtest = "1.15.2"
[package.metadata.mwrap]
upstream-version = "1.92.8"
[[runtime.deploy]]
from = "LICENSE"
to = "licenses/imgui"
[[runtime.deploy]]
from = "NOTICE"
to = "licenses/imgui"
[[runtime.deploy]]
from = "upstream/imgui/README.md"
to = "licenses/imgui/upstream/imgui"
[[runtime.deploy]]
from = "upstream/imgui/LICENSE.txt"
to = "licenses/imgui/upstream/imgui"
[[runtime.deploy]]
from = "upstream/wrapper-legacy/LICENSE"
to = "licenses/imgui/upstream/wrapper-legacy"