1 // swift-tools-version:5.5
2 // The swift-tools-version declares the minimum version of Swift required to build this package.
4 // Copyright 2016-2021 The Khronos Group Inc.
5 // SPDX-License-Identifier: Apache-2.0
7 import PackageDescription
12 // Products define the executables and libraries a package produces, and make them visible to other packages.
15 targets: ["SPIRV-Cross"]),
18 // Dependencies declare other packages that this package depends on.
19 // .package(url: /* package url */, from: "1.0.0"),
22 // Targets are the basic building blocks of a package. A target can define a module or a test suite.
23 // Targets can depend on other targets in this package, and on products in packages this package depends on.
28 exclude: ["CMakeLists.txt",
29 "CODE_OF_CONDUCT.adoc",
35 "build_glslang_spirv_tools.sh",
36 "checkout_glslang_spirv_tools.sh",
46 "shaders-hlsl-no-opt",
57 "update_test_shaders.sh"],
58 sources: ["spirv_cfg.cpp",
62 "spirv_cross_parsed_ir.cpp",
63 "spirv_cross_util.cpp",
69 publicHeadersPath: "."),
71 cxxLanguageStandard: .cxx14