Skip to content

includedirs

starkos edited this page Apr 10, 2021 · 8 revisions

⚠️ We have a new website! Visit now for the most update to date documentation.
       This wiki is no longer being maintained.


Specifies the include file search paths for the compiler.

includedirs { "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 4.0 or later.

Examples

Define two include file search paths.

includedirs { "../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.

includedirs { "../includes/**" }

See Also

Clone this wiki locally