aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-03 19:00:48 -0800
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-03 19:00:48 -0800
commitc2a368976dcd42640290a6ef30c5a4fc8a4a825d (patch)
treef9ab145ac87ed8de668aa822b16f99560f98b6fd /toolsrc/include
parente44aae7210a5c13e8748854dff478905c371defa (diff)
downloadvcpkg-c2a368976dcd42640290a6ef30c5a4fc8a4a825d.tar.gz
vcpkg-c2a368976dcd42640290a6ef30c5a4fc8a4a825d.zip
Add policy: NoDebugBinaries
Diffstat (limited to 'toolsrc/include')
-rw-r--r--toolsrc/include/PostBuildLint_BuildPolicies.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/toolsrc/include/PostBuildLint_BuildPolicies.h b/toolsrc/include/PostBuildLint_BuildPolicies.h
index 082de31d0..42bd3d718 100644
--- a/toolsrc/include/PostBuildLint_BuildPolicies.h
+++ b/toolsrc/include/PostBuildLint_BuildPolicies.h
@@ -8,7 +8,8 @@ namespace vcpkg::PostBuildLint::BuildPolicies
{
NULLVALUE = 0,
EMPTY_PACKAGE,
- DLLS_WITHOUT_LIBS
+ DLLS_WITHOUT_LIBS,
+ NO_DEBUG_BINARIES
};
struct type
@@ -29,8 +30,9 @@ namespace vcpkg::PostBuildLint::BuildPolicies
static constexpr type NULLVALUE(backing_enum_t::NULLVALUE);
static constexpr type EMPTY_PACKAGE(backing_enum_t::EMPTY_PACKAGE);
static constexpr type DLLS_WITHOUT_LIBS(backing_enum_t::DLLS_WITHOUT_LIBS);
+ static constexpr type NO_DEBUG_BINARIES(backing_enum_t::NO_DEBUG_BINARIES);
- static constexpr std::array<type, 2> values = { EMPTY_PACKAGE, DLLS_WITHOUT_LIBS };
+ static constexpr std::array<type, 3> values = { EMPTY_PACKAGE, DLLS_WITHOUT_LIBS, NO_DEBUG_BINARIES };
type parse(const std::string& s);
}