Debian Codegraph @

bazel/external/spirv_cross/BUILD.bazel

raw
1 # This file will be copied into //third_party/externals/spirv-cross via the new_local_repository
2 # rule in WORKSPACE.bazel, so all files should be relative to that path.
3
4 load("@rules_cc//cc:cc_library.bzl", "cc_library")
5
6 cc_library(
7 name = "spirv_cross",
8 srcs = [
9 "GLSL.std.450.h",
10 "spirv.hpp",
11 "spirv_cfg.cpp",
12 "spirv_cfg.hpp",
13 "spirv_common.hpp",
14 "spirv_cpp.cpp",
15 "spirv_cpp.hpp",
16 "spirv_cross.cpp",
17 "spirv_cross.hpp",
18 "spirv_cross_containers.hpp",
19 "spirv_cross_error_handling.hpp",
20 "spirv_cross_parsed_ir.cpp",
21 "spirv_cross_parsed_ir.hpp",
22 "spirv_glsl.cpp",
23 "spirv_glsl.hpp",
24 "spirv_hlsl.cpp",
25 "spirv_msl.cpp",
26 "spirv_msl.hpp",
27 "spirv_parser.cpp",
28 "spirv_parser.hpp",
29 "spirv_reflect.cpp",
30 "spirv_reflect.hpp",
31 ],
32 hdrs = [
33 "spirv_hlsl.hpp",
34 ],
35 defines = ["SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS"],
36 includes = [
37 # This allows #include <spirv_hlsl.hpp> to work
38 ".",
39 ],
40 visibility = ["//visibility:public"],
41 )