2010-07-23 00:46:45 +00:00
|
|
|
//
|
2012-03-21 05:12:23 +00:00
|
|
|
// Copyright 2010-2012 Ettus Research LLC
|
2018-02-19 23:30:32 +00:00
|
|
|
// Copyright 2018 Ettus Research, a National Instruments Company
|
2010-07-23 00:46:45 +00:00
|
|
|
//
|
2018-02-19 23:30:32 +00:00
|
|
|
// SPDX-License-Identifier: GPL-3.0-or-later
|
2010-07-23 00:46:45 +00:00
|
|
|
//
|
|
|
|
|
|
2017-02-08 00:37:25 +00:00
|
|
|
#include <uhd/utils/log.hpp>
|
2020-03-02 23:25:13 +00:00
|
|
|
#include <uhd/utils/static.hpp>
|
|
|
|
|
#include <uhd/version.hpp>
|
2010-10-01 19:11:38 +00:00
|
|
|
#include <boost/version.hpp>
|
|
|
|
|
#include <iostream>
|
|
|
|
|
|
2020-03-02 23:25:13 +00:00
|
|
|
std::string uhd::get_version_string(void)
|
|
|
|
|
{
|
2012-02-28 17:17:26 +00:00
|
|
|
return "@UHD_VERSION@";
|
2011-07-22 20:59:29 +00:00
|
|
|
}
|
2012-03-21 05:12:23 +00:00
|
|
|
|
2020-03-02 23:25:13 +00:00
|
|
|
std::string uhd::get_abi_string(void)
|
|
|
|
|
{
|
2012-03-21 05:12:23 +00:00
|
|
|
return UHD_VERSION_ABI_STRING;
|
|
|
|
|
}
|
2019-09-25 00:31:51 +00:00
|
|
|
|
2020-03-02 23:25:13 +00:00
|
|
|
std::string uhd::get_component(void)
|
|
|
|
|
{
|
2019-09-25 00:31:51 +00:00
|
|
|
return "@UHD_COMPONENT@";
|
|
|
|
|
}
|