diff options
| author | Jacob Zhong <cmpute@qq.com> | 2018-03-07 17:57:16 +0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-04-02 18:48:14 -0700 |
| commit | 892f7052f943570eb5d8da991ace01725323c695 (patch) | |
| tree | dacf0e811d54fdf08a76f8bbd6d6b599c11fc982 /toolsrc/include | |
| parent | adccba04db25b3e3bd44c58a9d2cbc1366e53fde (diff) | |
| download | vcpkg-892f7052f943570eb5d8da991ace01725323c695.tar.gz vcpkg-892f7052f943570eb5d8da991ace01725323c695.zip | |
[vcpkg] Add support of external downloader aria2
Diffstat (limited to 'toolsrc/include')
| -rw-r--r-- | toolsrc/include/vcpkg/build.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/toolsrc/include/vcpkg/build.h b/toolsrc/include/vcpkg/build.h index 1c22d39d8..a86245ccf 100644 --- a/toolsrc/include/vcpkg/build.h +++ b/toolsrc/include/vcpkg/build.h @@ -57,12 +57,20 @@ namespace vcpkg::Build RELEASE, }; + enum class DownloadTool + { + BUILT_IN, + ARIA2, + }; + const std::string& to_string(DownloadTool tool); + struct BuildPackageOptions { UseHeadVersion use_head_version; AllowDownloads allow_downloads; CleanBuildtrees clean_buildtrees; CleanPackages clean_packages; + DownloadTool download_tool; }; enum class BuildResult |
