premake/website/docs/sysincludedirs.md

933 B

:::caution This function has been deprecated in Premake 5.0 beta2. Use the new externalincludedirs function instead. sysincludedirs will be not supported in Premake 6. :::

Alias of externalincludedirs.

sysincludedirs { "paths" }

Parameters

paths specifies a list of include file search directories. Paths should be specified relative to the currently running script file.

Applies To

Project configurations.

Availability

Premake 5.0 or later.

Examples

Define two system include file search paths.

sysincludedirs { "../lua/include", "../zlib" }

You can also use wildcards to match multiple directories. The * will match against a single directory, ** will recurse into subdirectories as well.

sysincludedirs { "../includes/**" }

See Also