diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-08 15:09:56 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2016-11-08 15:09:56 -0800 |
| commit | dbab03a1a82913ae96bfa3c1613ade20b5ac438d (patch) | |
| tree | 8086e4554c7902d6b0a3a0079425785e4eec5141 /toolsrc/include/BuildInfo.h | |
| parent | 2e7b260b32454d32fb10cc9d838409f82c7744b8 (diff) | |
| parent | 218cae4503749134f4827b3e71fbf22a956d4dc3 (diff) | |
| download | vcpkg-dbab03a1a82913ae96bfa3c1613ade20b5ac438d.tar.gz vcpkg-dbab03a1a82913ae96bfa3c1613ade20b5ac438d.zip | |
Merge branch 'postbuild'
Diffstat (limited to 'toolsrc/include/BuildInfo.h')
| -rw-r--r-- | toolsrc/include/BuildInfo.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/toolsrc/include/BuildInfo.h b/toolsrc/include/BuildInfo.h new file mode 100644 index 000000000..2801cf49d --- /dev/null +++ b/toolsrc/include/BuildInfo.h @@ -0,0 +1,28 @@ +#pragma once + +#include <unordered_map> +#include "Paragraphs.h" + +namespace fs = std::tr2::sys; + +namespace vcpkg +{ + enum class LinkageType + { + DYNAMIC, + STATIC, + UNKNOWN + }; + + LinkageType linkage_type_value_of(const std::string& as_string); + + struct BuildInfo + { + static BuildInfo create(const std::unordered_map<std::string, std::string>& pgh); + + std::string crt_linkage; + std::string library_linkage; + }; + + BuildInfo read_build_info(const fs::path& filepath); +} |
