c/directx - C/C++ DirectX Rules

    IncludeModule c/directx ;

List of Rules

Rules


rule C.UseDirectX TARGET [ : OPTIONS ]

Applies settings to the specified TARGET, allowing it to build a DirectX-capable project.

Parameters:
TARGET The target to assign the DirectX settings to. TARGET is optional if rule ActiveProject PROJECT has been specified.
OPTIONS (optional) The following options are available:
    # Applies DirectX settings to MyLibrary.
    C.UseDirectX MyLibrary ;
        
    # Applies DirectX settings, including the appropriate linker flags, to MyApplication.
    C.UseDirectX MyApplication : link ;