XRepo is a meta package manager for C/C++ built on top of XMake.
More...
|
| static Tool | Install (string package, string options="", string extraArgs="") |
| | Install a package using xrepo. Using this function also ensures setting up conan or VCPKG if they're referenced in the package specification.
|
| |
| static Tool | Info (string package, string options="", string extraArgs="") |
| | Fetch a package info installed via xrepo. Using this function also ensures setting up conan or VCPKG if they're referenced in the package specification.
|
| |
| static XRepoItem | ParseXRepoInfo (this IEnumerable< Output > output) |
| | Parse the Tool output of XRepoTasks.Info into structured data.
|
| |
|
| static ValueOrError< Tool > | EnsureXRepo [get] |
| | Get XRepo or an error if downloading it has failed.
|
| |
| static Tool | XRepo [get] |
| | Get XRepo. It throws an exception if downloading it has failed.
|
| |
XRepo is a meta package manager for C/C++ built on top of XMake.
Definition at line 20 of file XRepoTasks.cs.
◆ EnsureSupportedPackageManagers()
| static void Nuke.Cola.Tooling.XRepoTasks.EnsureSupportedPackageManagers |
( |
ref Tool | xrepo, |
|
|
string | package ) |
|
staticprivate |
◆ Info()
| static Tool Nuke.Cola.Tooling.XRepoTasks.Info |
( |
string | package, |
|
|
string | options = "", |
|
|
string | extraArgs = "" ) |
|
static |
Fetch a package info installed via xrepo. Using this function also ensures setting up conan or VCPKG if they're referenced in the package specification.
- Parameters
-
| package | package specification including third-party manager identifier (e.g.: conan::), version syntax (depending on the selected manager), and other extensions (e.g. vcpkg::boost[core])
See https://xmake.io/#/package/remote_package?id=install-third-party-packages See https://xrepo.xmake.io/#/?id=installation-package |
| options | Extra options configuring the package. It should be comma separated key=value pairs. It is important to provide the same options here as provided in install to get accurate information from the package (like dependencies, linking methods, etc) |
| extraArgs | Extra arguments provided through command line before package specification. |
- Returns
Definition at line 93 of file XRepoTasks.cs.
◆ Install()
| static Tool Nuke.Cola.Tooling.XRepoTasks.Install |
( |
string | package, |
|
|
string | options = "", |
|
|
string | extraArgs = "" ) |
|
static |
Install a package using xrepo. Using this function also ensures setting up conan or VCPKG if they're referenced in the package specification.
- Parameters
-
- Returns
Definition at line 66 of file XRepoTasks.cs.
◆ ParseXRepoInfo()
| static XRepoItem Nuke.Cola.Tooling.XRepoTasks.ParseXRepoInfo |
( |
this IEnumerable< Output > | output | ) |
|
|
static |
◆ EnsureXRepo
| ValueOrError<Tool> Nuke.Cola.Tooling.XRepoTasks.EnsureXRepo |
|
staticget |
Get XRepo or an error if downloading it has failed.
Definition at line 25 of file XRepoTasks.cs.
◆ XRepo
| Tool Nuke.Cola.Tooling.XRepoTasks.XRepo |
|
staticget |
Get XRepo. It throws an exception if downloading it has failed.
Definition at line 31 of file XRepoTasks.cs.
The documentation for this class was generated from the following file:
- /home/runner/work/md.Nuke.Cola/md.Nuke.Cola/md.Nuke.Cola/Tooling/XRepoTasks.cs