You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
mba105 edited this page Sep 24, 2014
·
2 revisions
Home > [Scripting Reference](Scripting Reference) > libdirs
libdirs
The libdirs function specifies the library search paths.
#!lua
libdirs { "paths" }
Library search directories are not well supported by the .NET tools. Visual Studio will change relative paths to absolute, making it difficult to share the generated project. MonoDevelop and SharpDevelop do not support search directories at all, using only the GAC. In general, it is better to include the full (relative) path to the assembly in links instead. C/C++ projects do not have this limitation.
If a project includes multiple calls to libdirs 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 library search directories. Paths should be specified relative to the currently running script file.
Examples
Define two library file search paths.
#!lua
libdirs { "../lua/libs", "../zlib" }
You can also use wildcards to match multiple directories. The * will match against a single directory, ** will recurse into subdirectories as well.