Skip to main content

openmp

Enables or disables OpenMP.

openmp "value"

If no value is set for a configuration, the toolset's default OpenMP option (usually "Off") will be performed.

Parameters

value is one of:

ValueDescription
OnTurn on OpenMP.
OffTurn off OpenMP.

Applies To

Project configurations.

Availability

Premake 5.0-beta1 or later for Visual Studio 2010+ and the MSC toolset. Premake 5.0-beta2 or later for the GCC and Clang toolsets and for xcode.

Examples

openmp "On"