Skip to content

nativewchar

Jason Perkins edited this page Apr 14, 2015 · 6 revisions

The nativewchar function enables or disables native wchar (wide character) support by the compiler.

#!lua
nativewchar "value"

If no value is set for a configuration, the toolset's default wchar support will be used.

Parameters

value specifies the desired state:

Value Description
Default Use the toolset's default settings.
On Enable native wide character handling.
Off Disable native wide character handling.

Applies To

Solutions, projects, and project configurations.

Availability

Premake 5.0.

Examples

#!lua
nativewchar "Off"
Clone this wiki locally