[Setup] Implement modulesRegistry API

This commit is contained in:
yuyoyuppe
2021-10-21 20:02:45 +03:00
committed by Andrey Nekrasov
parent 5cfbd72fa8
commit c324cd5953
4 changed files with 428 additions and 0 deletions

View File

@@ -33,5 +33,14 @@ inline std::wstring get_product_version()
L"." + std::to_wstring(VERSION_MINOR) +
L"." + std::to_wstring(VERSION_REVISION);
return version;
}
inline std::wstring get_std_product_version()
{
static std::wstring version = L"v" + std::to_wstring(VERSION_MAJOR) +
L"." + std::to_wstring(VERSION_MINOR) +
L"." + std::to_wstring(VERSION_REVISION) + L".0";
return version;
}