Initial community commit
This commit is contained in:
30
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/nuget.md
vendored
Normal file
30
Src/external_dependencies/openmpt-trunk/include/premake/website/docs/nuget.md
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
Specifies a list of NuGet packages that this project depends on. Only supported in Visual Studio C++ and C# projects.
|
||||
|
||||
```lua
|
||||
nuget { "references" }
|
||||
```
|
||||
|
||||
### Parameters ###
|
||||
|
||||
`references` is a list of NuGet package names and versions, where the version is separated from the name with a colon.
|
||||
|
||||
### Applies To ###
|
||||
|
||||
Project configurations.
|
||||
|
||||
### Availability ###
|
||||
|
||||
Premake 5.0 or later.
|
||||
|
||||
### Examples ###
|
||||
|
||||
Link against some NuGet packages.
|
||||
|
||||
```lua
|
||||
project "foo"
|
||||
nuget { "sdl2.v140:2.0.4", "sdl2.v140.redist:2.0.4" }
|
||||
```
|
||||
|
||||
### See Also ###
|
||||
|
||||
* [nugetsource](nugetsource.md)
|
||||
Reference in New Issue
Block a user