Skip to main content

usefullpaths

Turn on/off full paths usage in diagnostics

usefullpaths "value"

By default, the generated project files will use the compilers default settings, which is in most cases "On" for debug and "Off" for release. In Visual Studio, this overrides the /FC flag which is forced on when using debug builds.

Parameters

value specifies relative path usage.

OptionDescription
OffUse relative paths in diagnostics
OnUse absolute (full) paths in diagnostics

Applies To

The config scope.

Availability

Premake 5.0.0 beta 1 or later.

Examples

project "MyProject"
usefullpaths "On" -- Uses full paths in diagnostics