Skip to main content

removeunreferencedcodedata

Sets the RemoveUnreferencedCodeData property for a configuration or all configurations within a project or workspace, adding or removing the /Zc:inline[-] build option.

/Zc:inline (Remove unreferenced COMDAT)

If this property is unset, it defaults to true in Visual Studio.

removeunreferencedcodedata ("value")

Parameters

value one of:

  • on - Enables RemoveUnreferencedCodeData.
  • off - Disables RemoveUnreferencedCodeData.

Applies To

Workspaces and projects.

Availability

Premake 5.0 alpha 16 or later.

Examples

RemoveUnreferencedCodeData "Off"