• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
4cc_library(
5    name = "spirv_cross",
6    srcs = [
7        "GLSL.std.450.h",
8        "spirv.hpp",
9        "spirv_cfg.cpp",
10        "spirv_cfg.hpp",
11        "spirv_common.hpp",
12        "spirv_cpp.cpp",
13        "spirv_cpp.hpp",
14        "spirv_cross.cpp",
15        "spirv_cross.hpp",
16        "spirv_cross_containers.hpp",
17        "spirv_cross_error_handling.hpp",
18        "spirv_cross_parsed_ir.cpp",
19        "spirv_cross_parsed_ir.hpp",
20        "spirv_glsl.cpp",
21        "spirv_glsl.hpp",
22        "spirv_hlsl.cpp",
23        "spirv_msl.cpp",
24        "spirv_msl.hpp",
25        "spirv_parser.cpp",
26        "spirv_parser.hpp",
27        "spirv_reflect.cpp",
28        "spirv_reflect.hpp",
29    ],
30    hdrs = [
31        "spirv_hlsl.hpp",
32    ],
33    defines = ["SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS"],
34    includes = [
35        # This allows #include <spirv_hlsl.hpp> to work
36        ".",
37    ],
38    visibility = ["//visibility:public"],
39)
40