-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmcpp.toml
More file actions
58 lines (53 loc) · 2.13 KB
/
Copy pathmcpp.toml
File metadata and controls
58 lines (53 loc) · 2.13 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
# The namespace names whose library this is, not who packaged it. Dear ImGui is
# ocornut's; this repository only adds the C++23 module layer over it. The
# version is upstream's, for the same reason: `0.0.6` told a consumer nothing
# about which ImGui they were getting.
#
# See mcpp-index#163 for the ecosystem-wide rule and the migration table.
[package]
namespace = "ocornut"
name = "imgui"
version = "1.92.8"
description = "Dear ImGui 1.92.8 core and GLFW/OpenGL3 backend modules for mcpp"
license = "MIT"
authors = ["imgui module contributors"]
repo = "https://github.com/mcpplibs/imgui-m"
[lib]
path = "src/core.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/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"