aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/PostBuildLint_BuildInfo.h
blob: 271279f82e764be2b75ceb83c2e210dd3b800cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "filesystem_fs.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::Type, OptBoolT> policies;
    };

    BuildInfo read_build_info(const fs::path& filepath);
}