| 1 |
# This file will be copied into //third_party/externals/imgui, so all files should be |
| 2 |
# relative to that path. |
| 3 |
|
| 4 |
load("@rules_cc//cc:cc_library.bzl", "cc_library") |
| 5 |
|
| 6 |
cc_library( |
| 7 |
name = "imgui", |
| 8 |
srcs = [ |
| 9 |
"imconfig.h", |
| 10 |
"imgui.cpp", |
| 11 |
"imgui.h", |
| 12 |
"imgui_demo.cpp", |
| 13 |
"imgui_draw.cpp", |
| 14 |
"imgui_internal.h", |
| 15 |
"imgui_tables.cpp", |
| 16 |
"imgui_widgets.cpp", |
| 17 |
"imstb_rectpack.h", |
| 18 |
"imstb_textedit.h", |
| 19 |
"imstb_truetype.h", |
| 20 |
"misc/cpp/imgui_stdlib.cpp", |
| 21 |
"misc/cpp/imgui_stdlib.h", |
| 22 |
], |
| 23 |
hdrs = ["imgui.h"], |
| 24 |
copts = ["-Wno-nontrivial-memcall"], |
| 25 |
defines = ["IMGUI_ENABLE_OSX_DEFAULT_CLIPBOARD_FUNCTIONS"], |
| 26 |
visibility = ["//visibility:public"], |
| 27 |
) |