[vcpkg] Add stringify for BuildResult::FILE_CONFLICTS
MODIFY
include/vcpkg_Build.h
include/vcpkg_Build.h
@@ -56,10 +56,11 @@ namespace vcpkg::Build
CASCADED_DUE_TO_MISSING_DEPENDENCIES
};
- static constexpr std::array<BuildResult, 4> BuildResult_values = {
+ static constexpr std::array<BuildResult, 5> BuildResult_values = {
BuildResult::SUCCEEDED,
BuildResult::BUILD_FAILED,
BuildResult::POST_BUILD_CHECKS_FAILED,
+ BuildResult::FILE_CONFLICTS,
BuildResult::CASCADED_DUE_TO_MISSING_DEPENDENCIES};
const std::string& to_string(const BuildResult build_result);

MODIFY
src/vcpkg_Build.cpp
src/vcpkg_Build.cpp
@@ -240,6 +240,7 @@ namespace vcpkg::Build
static const std::string NULLVALUE_STRING = Enums::nullvalue_to_string("vcpkg::Commands::Build::BuildResult");
static const std::string SUCCEEDED_STRING = "SUCCEEDED";
static const std::string BUILD_FAILED_STRING = "BUILD_FAILED";
+ static const std::string FILE_CONFLICTS_STRING = "FILE_CONFLICTS";
static const std::string POST_BUILD_CHECKS_FAILED_STRING = "POST_BUILD_CHECKS_FAILED";
static const std::string CASCADED_DUE_TO_MISSING_DEPENDENCIES_STRING = "CASCADED_DUE_TO_MISSING_DEPENDENCIES";
@@ -250,6 +251,7 @@ namespace vcpkg::Build
case BuildResult::BUILD_FAILED: return BUILD_FAILED_STRING;
case BuildResult::POST_BUILD_CHECKS_FAILED: return POST_BUILD_CHECKS_FAILED_STRING;
case BuildResult::CASCADED_DUE_TO_MISSING_DEPENDENCIES: return CASCADED_DUE_TO_MISSING_DEPENDENCIES_STRING;
+ case BuildResult::FILE_CONFLICTS: return FILE_CONFLICTS_STRING;
default: Checks::unreachable(VCPKG_LINE_INFO);
}
}

[vcpkg] Add stringify for BuildResult::FILE_CONFLICTS