IncludeModule c/mfc ;
Applies settings to the specified TARGET, allowing it to build an MFC-enabled project on Win32 or Win64 targets.
| 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: |
link- When linking the executable or DLL, this option sets up the MFC link settings.shared- Use this option when MFC is to be used as a shared library. The default is to statically link it.
# 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 ;