aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/PostBuildLint_BuildInfo.h
blob: 8bac18861e8dd5fba6da1e0077be652e8b7ece8f (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);
}