2016-11-09 06:12:49 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <unordered_map>
|
|
|
|
#include "Paragraphs.h"
|
2017-02-02 05:24:06 +08:00
|
|
|
#include "PostBuildLint_BuildPolicies.h"
|
2017-02-01 09:09:48 +08:00
|
|
|
#include "opt_bool.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-02-10 11:00:09 +08:00
|
|
|
LinkageType::type crt_linkage;
|
|
|
|
LinkageType::type library_linkage;
|
2017-02-01 09:09:48 +08:00
|
|
|
|
|
|
|
std::map<BuildPolicies::type, opt_bool_t> 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
|
|
|
}
|