srctree

Robin Linden parent db15046b ebe2e8be
deps/imgui-sfml: Remove no-longer-needed warning disable

inlinesplit
third_party/imgui-sfml.BUILD added: 1, removed: 12, total 0
@@ -1,20 +1,9 @@
load("@rules_cc//cc:defs.bzl", "cc_library")
 
IMGUI_SFML_COPTS = select({
"@platforms//os:linux": [
"-Wno-switch",
],
"@platforms//os:macos": [
"-Wno-switch",
],
"//conditions:default": [],
})
 
cc_library(
name = "imgui-sfml",
srcs = ["imgui-SFML.cpp"],
hdrs = glob(["*.h"]),
copts = IMGUI_SFML_COPTS,
defines = ["IMGUI_SFML_SHARED_LIB=0"],
includes = ["."],
linkopts = select({