aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-02-07 17:02:57 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-02-07 17:02:57 -0800
commitf9616c6994ccf66e2a64e2d62e6a1408694c190c (patch)
tree4bbaf20b8d240eac22d2269d78ae64687d991dca /toolsrc/include
parent8d5cbff2954a425731057a206a8e769a5bc53e16 (diff)
downloadvcpkg-f9616c6994ccf66e2a64e2d62e6a1408694c190c.tar.gz
vcpkg-f9616c6994ccf66e2a64e2d62e6a1408694c190c.zip
Add new Policy: Empty Package
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/PostBuildLint_BuildPolicies.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/toolsrc/include/PostBuildLint_BuildPolicies.h b/toolsrc/include/PostBuildLint_BuildPolicies.h
index 8298ffe2d..187ba6d64 100644
--- a/toolsrc/include/PostBuildLint_BuildPolicies.h
+++ b/toolsrc/include/PostBuildLint_BuildPolicies.h
@@ -6,6 +6,7 @@ namespace vcpkg::PostBuildLint::BuildPolicies
enum class backing_enum_t
{
UNKNOWN = 0,
+ EMPTY_PACKAGE,
DLLS_WITHOUT_LIBS
};
@@ -22,10 +23,12 @@ namespace vcpkg::PostBuildLint::BuildPolicies
backing_enum_t backing_enum;
};
- static constexpr int value_count = 2;
+ static constexpr int value_count = 3;
const std::vector<type>& values();
+
static constexpr type UNKNOWN(backing_enum_t::UNKNOWN);
+ static constexpr type EMPTY_PACKAGE(backing_enum_t::EMPTY_PACKAGE);
static constexpr type DLLS_WITHOUT_LIBS(backing_enum_t::DLLS_WITHOUT_LIBS);
type parse(const std::string& s);