Skip to content
mba105 edited this page Sep 24, 2014 · 2 revisions

Home > [Scripting Reference](Scripting Reference) > resincludedirs


resincludedirs

The resincludedirs function specifies the include file search paths for the resource compiler.

#!lua
resincludedirs { "paths" }

If a project includes multiple calls to resincludedirs 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.

#!lua
resincludedirs { "../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.

#!lua
resincludedirs { "../includes/**" }
Clone this wiki locally