c/mfc - C++ MFC Rules

    IncludeModule c/mfc ;

List of Rules

Rules


rule C.UseMFC TARGET [ : OPTIONS ]

Applies settings to the specified TARGET, allowing it to build an MFC-enabled project on Win32 or Win64 targets.

Parameters:
TARGET The target to assign the MFC settings to. TARGET is optional if rule ActiveProject PROJECT has been specified.
OPTIONS (optional) The following options are available:
    # Applies MFC settings to MyLibrary.
    C.UseMFC MyLibrary ;

    # Applies MFC settings, including the appropriate linker flags, to MyApplication.
    C.UseMFC MyApplication : link ;

    # Applies MFC settings to MyApplication.  Uses the MFC runtime DLLs.
    C.UseMFC MyApplication : link shared ;