2016-11-09 06:12:49 +08:00
|
|
|
#pragma once
|
|
|
|
|
2017-02-28 07:52:57 +08:00
|
|
|
#include "filesystem_fs.h"
|
2017-02-02 05:24:06 +08:00
|
|
|
#include "PostBuildLint_BuildPolicies.h"
|
2017-04-04 05:43:44 +08:00
|
|
|
#include "OptBool.h"
|
2017-02-10 10:39:03 +08:00
|
|
|
#include "PostBuildLint_LinkageType.h"
|
2016-11-09 06:12:49 +08:00
|
|
|
|
2017-01-06 06:25:50 +08:00
|
|
|
namespace vcpkg::PostBuildLint
|
2016-11-09 06:12:49 +08:00
|
|
|
{
|
|
|
|
struct BuildInfo
|
|
|
|
{
|
2017-02-01 09:09:48 +08:00
|
|
|
static BuildInfo create(std::unordered_map<std::string, std::string> pgh);
|
2016-11-09 06:12:49 +08:00
|
|
|
|
2017-04-04 05:52:47 +08:00
|
|
|
LinkageType::Type crt_linkage;
|
|
|
|
LinkageType::Type library_linkage;
|
2017-02-01 09:09:48 +08:00
|
|
|
|
2017-04-04 05:50:50 +08:00
|
|
|
std::map<BuildPolicies::Type, OptBoolT> policies;
|
2016-11-09 06:12:49 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
BuildInfo read_build_info(const fs::path& filepath);
|
2017-01-06 06:25:50 +08:00
|
|
|
}
|