directxshadercompiler

DirectX Shader Compiler

Latest version: 1.8.2405

Add to xmake.lua

add_requires("directxshadercompiler 1.8.2405")

Learn how to add and link packages with Xmake →

Information

License
LLVM
Recipe updated
2024-06-26T02:45:33.000Z

Platforms

  • linux: x86_64
  • windows: x64

Options

shared
Using shared binaries. · Type: boolean · Default: true

Versions

  • v1.7.2212
  • v1.8.2403
  • v1.8.2405

Dependencies

Install with xrepo

Install the package independently of a project and inspect its available configuration.

install

xrepo install "directxshadercompiler 1.8.2405"

show info

xrepo info "directxshadercompiler"

Link a library to your target

Declare the requirement, then attach the library to the target that uses it.

xmake.lua

add_requires("directxshadercompiler 1.8.2405")

target("demo")
    set_kind("binary")
    add_files("src/*.cpp")
    add_packages("directxshadercompiler")

Open a package environment

Open a shell with the environment exported by this package. Use the executable names documented by the package.

enter shell

xrepo env -b "directxshadercompiler 1.8.2405" shell