This repository has been archived on 2022-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
fuck-premake-old2/website/docs/includedirs.md
2021-03-12 22:10:24 +01:00

689 B

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