JamPlus manual
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
TARGETThe target to assign the DirectX settings to. TARGET is optional if rule ActiveTarget TARGET has been specified.
OPTIONS(optional) The following options are available:

  • link - When linking the final executable or DLL, this option sets up the DirectX link libraries.

# Applies DirectX settings to MyLibrary.
C.UseDirectX MyLibrary ;
# Applies DirectX settings, including the appropriate linker flags, to MyApplication.
C.UseDirectX MyApplication : link ;