Added DX12 recipe.

This commit is contained in:
Patrick 2024-10-30 11:10:24 +01:00
parent 946cfc57ce
commit 0dcd8b383c

View File

@ -0,0 +1,23 @@
import os
from SCons.Script import *
def available(env: Environment):
if os.name != 'nt':
return 'DirectX12 is only available on Windows.'
def versions(env: Environment, update: bool = False):
if os.name == 'nt':
return [(0, 0, 0)]
else:
return []
def dependencies(env: Environment, version) -> 'dict':
return {}
def cook(env: Environment, version) -> dict:
return {
'LIBS': ['dxgi', 'd3d12']
}