aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/PostBuildLint_ConfigurationType.cpp
blob: 9c3499cac3ca36b0e6ab4f8c448a580466e45eae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "pch.h"
#include "PostBuildLint_ConfigurationType.h"
#include "vcpkg_Checks.h"

namespace vcpkg::PostBuildLint
{
    std::string to_string(const ConfigurationType& conf)
    {
        switch (conf)
        {
            case ConfigurationType::DEBUG:
                return "Debug";
            case ConfigurationType::RELEASE:
                return "Release";
            default:
                Checks::unreachable();
        }
    }
}