aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/include/PostBuildLint_ConfigurationType.h
diff options
context:
space:
mode:
authormmazat <m.mazaheri.t@gmail.com>2017-06-07 21:02:57 -0400
committerGitHub <noreply@github.com>2017-06-07 21:02:57 -0400
commitff52016d018c9d346cd402e9cc98d24dff39d900 (patch)
tree217cdb8ba8e0011f8d88a56e19770009289661b6 /toolsrc/include/PostBuildLint_ConfigurationType.h
parent56b27d1d00b08af2cba16197cc7b5f5eed98bca0 (diff)
parentab0b48927505103c4b8782f90a44336a2bb7791d (diff)
downloadvcpkg-ff52016d018c9d346cd402e9cc98d24dff39d900.tar.gz
vcpkg-ff52016d018c9d346cd402e9cc98d24dff39d900.zip
Merge pull request #1 from Microsoft/master
pull changes from upstream
Diffstat (limited to 'toolsrc/include/PostBuildLint_ConfigurationType.h')
-rw-r--r--toolsrc/include/PostBuildLint_ConfigurationType.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/toolsrc/include/PostBuildLint_ConfigurationType.h b/toolsrc/include/PostBuildLint_ConfigurationType.h
deleted file mode 100644
index 8157415b0..000000000
--- a/toolsrc/include/PostBuildLint_ConfigurationType.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-#include "CStringView.h"
-#include <string>
-
-namespace vcpkg::PostBuildLint
-{
- struct ConfigurationType
- {
- enum class BackingEnum
- {
- NULLVALUE = 0,
- DEBUG = 1,
- RELEASE = 2
- };
-
- constexpr ConfigurationType() : backing_enum(BackingEnum::NULLVALUE) {}
- constexpr explicit ConfigurationType(BackingEnum backing_enum) : backing_enum(backing_enum) {}
- constexpr operator BackingEnum() const { return backing_enum; }
-
- const std::string& to_string() const;
-
- private:
- BackingEnum backing_enum;
- };
-
- namespace ConfigurationTypeC
- {
- static constexpr CStringView ENUM_NAME = "vcpkg::PostBuildLint::ConfigurationType";
-
- static constexpr ConfigurationType NULLVALUE(ConfigurationType::BackingEnum::NULLVALUE);
- static constexpr ConfigurationType DEBUG(ConfigurationType::BackingEnum::DEBUG);
- static constexpr ConfigurationType RELEASE(ConfigurationType::BackingEnum::RELEASE);
-
- static constexpr std::array<ConfigurationType, 2> VALUES = {DEBUG, RELEASE};
- }
-}