2016-11-08 14:12:49 -08:00
|
|
|
#pragma once
|
|
|
|
|
2017-02-27 15:52:57 -08:00
|
|
|
#include "filesystem_fs.h"
|
2017-02-01 13:24:06 -08:00
|
|
|
#include "PostBuildLint_BuildPolicies.h"
|
2017-01-31 17:09:48 -08:00
|
|
|
#include "opt_bool.h"
|
2017-02-09 18:39:03 -08:00
|
|
|
#include "PostBuildLint_LinkageType.h"
|
2016-11-08 14:12:49 -08:00
|
|
|
|
2017-01-05 14:25:50 -08:00
|
|
|
namespace vcpkg::PostBuildLint
|
2016-11-08 14:12:49 -08:00
|
|
|
{
|
|
|
|
struct BuildInfo
|
|
|
|
{
|
2017-01-31 17:09:48 -08:00
|
|
|
static BuildInfo create(std::unordered_map<std::string, std::string> pgh);
|
2016-11-08 14:12:49 -08:00
|
|
|
|
2017-02-09 19:00:09 -08:00
|
|
|
LinkageType::type crt_linkage;
|
|
|
|
LinkageType::type library_linkage;
|
2017-01-31 17:09:48 -08:00
|
|
|
|
|
|
|
std::map<BuildPolicies::type, opt_bool_t> policies;
|
2016-11-08 14:12:49 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
BuildInfo read_build_info(const fs::path& filepath);
|
2017-01-05 14:25:50 -08:00
|
|
|
}
|