vcpkg/toolsrc/include/PostBuildLint_BuildInfo.h
Alexander Karatarakis 1aef09ba58 Rework OptBool enum
2017-04-25 17:56:18 -07:00

23 lines
542 B
C++

#pragma once
#include "filesystem_fs.h"
#include "vcpkg_Files.h"
#include "PostBuildLint_BuildPolicies.h"
#include "OptBool.h"
#include "PostBuildLint_LinkageType.h"
namespace vcpkg::PostBuildLint
{
struct BuildInfo
{
static BuildInfo create(std::unordered_map<std::string, std::string> pgh);
LinkageType::Type crt_linkage;
LinkageType::Type library_linkage;
std::map<BuildPolicies, OptBool> policies;
};
BuildInfo read_build_info(const Files::Filesystem& fs, const fs::path& filepath);
}