Skip to main content

enablemodules

Sets whether or not the compiler should enable C++20 modules.

enablemodules("value")

Parameters

value is one of:

  • On
  • Off

Applies To

The config scope.

Availability

Premake 5.0.0 beta 3 or later for Visual Studio 2019 and later.