2017-08-28 13:54:19 +03:00
|
|
|
#pragma once
|
|
|
|
|
2017-10-13 18:37:41 -07:00
|
|
|
#include <vcpkg/dependencies.h>
|
|
|
|
#include <vcpkg/vcpkgpaths.h>
|
|
|
|
|
2017-10-04 15:58:05 -07:00
|
|
|
#include <string>
|
|
|
|
#include <vector>
|
2017-08-28 13:54:19 +03:00
|
|
|
|
2017-10-13 18:37:41 -07:00
|
|
|
namespace vcpkg::Export::IFW
|
2017-08-28 13:54:19 +03:00
|
|
|
{
|
2017-09-22 02:16:14 +03:00
|
|
|
struct Options
|
|
|
|
{
|
|
|
|
Optional<std::string> maybe_repository_url;
|
|
|
|
Optional<std::string> maybe_packages_dir_path;
|
2017-09-27 02:57:51 +03:00
|
|
|
Optional<std::string> maybe_repository_dir_path;
|
2017-09-22 02:16:14 +03:00
|
|
|
Optional<std::string> maybe_config_file_path;
|
2017-09-27 02:57:51 +03:00
|
|
|
Optional<std::string> maybe_installer_file_path;
|
2017-09-22 02:16:14 +03:00
|
|
|
};
|
|
|
|
|
2017-10-04 15:58:05 -07:00
|
|
|
void do_export(const std::vector<Dependencies::ExportPlanAction>& export_plan,
|
|
|
|
const std::string& export_id,
|
|
|
|
const Options& ifw_options,
|
|
|
|
const VcpkgPaths& paths);
|
2017-08-28 13:54:19 +03:00
|
|
|
}
|