Skip to main content

mfc

Sets the version of the MFC libraries to link against.

mfc "On"

Parameters

value specifies the desired PIC mode:

ValueDescription
DefaultPerform the default linkage against the MFC libraries for your project type.
OffDo not link against MFC libraries.
OnLink against the MFC libraries corresponding with the runtime type you are using (static or dynamic).
StaticForce static linkage to the MFC libraries.
DynamicForce dynamic linkage to the MFC libraries.

Applies To

Project configurations.

Availability

Premake 5.0-beta4 or later on Visual Studio.