directxtex

DirectXTex texture processing library

Latest version: 2025.07

Add to xmake.lua

add_requires("directxtex 2025.07")

Learn how to add and link packages with Xmake →

Information

License
MIT
Recipe updated
2025-08-06T15:23:08.000Z

Platforms

  • linux: i386, x86_64, armv7, armv7s, arm64, mips, mips64, mipsel, mips64el, loong64, riscv64, s390x, ppc, ppc64, ppc64el, sparc64
  • windows: x64, arm64

Options

code_analysis
Use Static Code Analysis on build · Type: boolean · Default: false
iterator_debugging
Disable iterator debugging in Debug configurations with the MSVC CRT · Type: boolean · Default: false
openexr
Build with OpenEXR support · Type: boolean · Default: false
openmp
Build with OpenMP support · Type: boolean · Default: false
prebuild_shader
Use externally built HLSL shaders · Type: boolean · Default: false

Versions

  • 2023.06
  • 2025.07

Dependencies

Used by (1)

Packages declaring this dependency; requirements can vary by platform and configuration.

Install with xrepo

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

install

xrepo install "directxtex 2025.07"

show info

xrepo info "directxtex"

Link a library to your target

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

xmake.lua

add_requires("directxtex 2025.07")

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

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 "directxtex 2025.07" shell