1. Home
  2. Browse
  3. directx12-agility

directx12-agility

v1.614.1#1Latest

DirectX 12 Agility SDK

Install

Run the following Vcpkg command to install the port.

vcpkg install directx12-agility

Usage

The DirectX 12 Agility SDK package provides CMake targets:

find_package(directx-headers CONFIG REQUIRED)
find_package(directx12-agility CONFIG REQUIRED)
target_link_libraries(main PRIVATE Microsoft::DirectX-Headers Microsoft::DirectX-Guids Microsoft::DirectX12-Agility)
if(TARGET Microsoft::DirectX12-Agility)
    file(MAKE_DIRECTORY "${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/D3D12")
    add_custom_command(TARGET main POST_BUILD
        COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_PROPERTY:Microsoft::DirectX12-Core,IMPORTED_LOCATION_RELEASE> $<TARGET_FILE_DIR:main>/D3D12
        COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_PROPERTY:Microsoft::DirectX12-Layers,IMPORTED_LOCATION_DEBUG> $<TARGET_FILE_DIR:main>/D3D12
       COMMAND_EXPAND_LISTS
    )
endif()

Dependencies

See source

Version

v1.614.1#1

Publication

Supports

windows & !uwp & !xbox & !arm32

Homepage

aka.ms/directx12agility

Documentation

devblogs.microsoft.com/directx/gettingstarted-dx12agility

Subtree

3f92cf1a34

License

Complex license

Definition

Manifest