Skip to content

includedirs

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

Home > [Project API](Project API) > includedirs


includedirs

The includedirs function specifies the include file search paths.


includedirs { "paths" }

If a project includes multiple calls to includedirs the lists are concatenated, in the order in which they appear in the script.

Applies To

Solutions, projects, and configurations.

Parameters

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

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/**" }

Clone this wiki locally