aboutsummaryrefslogtreecommitdiff
path: root/vcpkg/ports/directx-dxc/usage
blob: 2b919ee321aeef706950cc0a4625d8c0588a82b8 (plain)
1
2
3
4
5
6
The DirectX Shader Compiler package provides CMake targets:

    find_package(directx-dxc CONFIG REQUIRED)
    target_link_libraries(main PRIVATE Microsoft::DirectXShaderCompiler)

The CMake variable DIRECTX_DXC_TOOL is also set to point to the appropriate DXC command-line tool.