1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-19 14:18:45 -04:00

LimeSDR support: built-in LimeSuite for Debian

This commit is contained in:
f4exb
2017-05-09 02:47:45 +02:00
parent 15dfd62c5a
commit 498454f8dc
7 changed files with 310 additions and 5 deletions
+36
View File
@@ -0,0 +1,36 @@
/**
@file VersionInfo.cpp
@author Lime Microsystems
@brief API for querying version and build information.
*/
#include "VersionInfo.h"
#include <sstream>
#define QUOTE_(x) #x
#define QUOTE(x) QUOTE_(x)
std::string lime::GetLibraryVersion(void)
{
return "17.03.0-gaa726d64";
}
std::string lime::GetBuildTimestamp(void)
{
return "2017-04-17";
}
std::string lime::GetAPIVersion(void)
{
const std::string verStr(QUOTE(LIME_SUITE_API_VERSION));
std::stringstream ss;
ss << std::stoi(verStr.substr(2, 4)) << "."
<< std::stoi(verStr.substr(6, 2)) << "."
<< std::stoi(verStr.substr(8, 2));
return ss.str();
}
std::string lime::GetABIVersion(void)
{
return "17.03-1";
}