Initial community commit
This commit is contained in:
35
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/usingdirs.md
vendored
Normal file
35
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/usingdirs.md
vendored
Normal file
@@ -0,0 +1,35 @@
|
||||
Specifies the file search paths for `using` statements.
|
||||
|
||||
```lua
|
||||
usingsdirs { "paths" }
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`paths` specifies a list of file search directories. Paths should be specified relative to the currently running script file.
|
||||
|
||||
### Applies To ###
|
||||
|
||||
Project configurations.
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 5.0 or later.
|
||||
|
||||
### Examples ###
|
||||
|
||||
Define two using file search paths.
|
||||
|
||||
```lua
|
||||
usingdirs { "../lib1", "../lib2" }
|
||||
```
|
||||
|
||||
You can also use wildcards to match multiple directories. The * will match against a single directory, ** will recurse into subdirectories as well.
|
||||
|
||||
```lua
|
||||
usingdirs { "../libs/**" }
|
||||
```
|
||||
|
||||
### See Also ###
|
||||
|
||||
* [includedirs](includedirs.md)
|
||||
Reference in New Issue
Block a user