diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-01 13:43:29 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2017-02-01 17:54:48 -0800 |
| commit | 4aef2485b9d5cf2dfbb30543963e5714dcc411c4 (patch) | |
| tree | 2bfc2e9f87069cd2606ede5a1261cb234bbdd236 /toolsrc/src/PostBuildLint_ConfigurationType.cpp | |
| parent | 7a04aff33e596b843fba2162ab9b05180fc5169c (diff) | |
| download | vcpkg-4aef2485b9d5cf2dfbb30543963e5714dcc411c4.tar.gz vcpkg-4aef2485b9d5cf2dfbb30543963e5714dcc411c4.zip | |
Split ConfigurationType into separate h/cpp
Diffstat (limited to 'toolsrc/src/PostBuildLint_ConfigurationType.cpp')
| -rw-r--r-- | toolsrc/src/PostBuildLint_ConfigurationType.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/toolsrc/src/PostBuildLint_ConfigurationType.cpp b/toolsrc/src/PostBuildLint_ConfigurationType.cpp new file mode 100644 index 000000000..9c3499cac --- /dev/null +++ b/toolsrc/src/PostBuildLint_ConfigurationType.cpp @@ -0,0 +1,19 @@ +#include "pch.h" +#include "PostBuildLint_ConfigurationType.h" +#include "vcpkg_Checks.h" + +namespace vcpkg::PostBuildLint +{ + std::string to_string(const ConfigurationType& conf) + { + switch (conf) + { + case ConfigurationType::DEBUG: + return "Debug"; + case ConfigurationType::RELEASE: + return "Release"; + default: + Checks::unreachable(); + } + } +} |
