aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include
diff options
context:
space:
mode:
authorAlexander Karatarakis <alkarata@microsoft.com>2017-03-24 12:49:08 -0700
committerAlexander Karatarakis <alkarata@microsoft.com>2017-03-24 12:49:08 -0700
commit3b511adfe483ebde8a3680fefbd96723201a6667 (patch)
tree5a449ab0e1a86eca83621cf9a14ec4a762da0a43 /toolsrc/include
parentcbfc4c0e54bd70f38b8b82d426d7a7291c5f2c0d (diff)
downloadvcpkg-3b511adfe483ebde8a3680fefbd96723201a6667.tar.gz
vcpkg-3b511adfe483ebde8a3680fefbd96723201a6667.zip
Add EMPTY_INCLUDE_FOLDER policy. Resolves #816
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 d815c6d27..67da686fb 100644
--- a/toolsrc/include/PostBuildLint_BuildPolicies.h
+++ b/toolsrc/include/PostBuildLint_BuildPolicies.h
@@ -9,7 +9,8 @@ namespace vcpkg::PostBuildLint::BuildPolicies
NULLVALUE = 0,
EMPTY_PACKAGE,
DLLS_WITHOUT_LIBS,
- ONLY_RELEASE_CRT
+ ONLY_RELEASE_CRT,
+ EMPTY_INCLUDE_FOLDER
};
struct type
@@ -31,8 +32,9 @@ namespace vcpkg::PostBuildLint::BuildPolicies
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 ONLY_RELEASE_CRT(backing_enum_t::ONLY_RELEASE_CRT);
+ static constexpr type EMPTY_INCLUDE_FOLDER(backing_enum_t::EMPTY_INCLUDE_FOLDER);
- static constexpr std::array<type, 3> values = { EMPTY_PACKAGE, DLLS_WITHOUT_LIBS, ONLY_RELEASE_CRT };
+ static constexpr std::array<type, 4> values = { EMPTY_PACKAGE, DLLS_WITHOUT_LIBS, ONLY_RELEASE_CRT, EMPTY_INCLUDE_FOLDER };
type parse(const std::string& s);
}