USRP Hardware Driver and USRP Manual Version: 4.1.0.1
UHD and USRP Manual
build_info.hpp
Go to the documentation of this file.
1//
2// Copyright 2015 National Instruments Corp.
3//
4// SPDX-License-Identifier: GPL-3.0-or-later
5//
6
7#pragma once
8
9#include <uhd/config.hpp>
10#include <string>
11
12namespace uhd { namespace build_info {
13
15UHD_API const std::string boost_version();
16
18UHD_API const std::string build_date();
19
21UHD_API const std::string c_compiler();
22
24UHD_API const std::string cxx_compiler();
25
27UHD_API const std::string c_flags();
28
30UHD_API const std::string cxx_flags();
31
33UHD_API const std::string enabled_components();
34
36UHD_API const std::string install_prefix();
37
39UHD_API const std::string libusb_version();
40}} // namespace uhd::build_info
#define UHD_API
Definition: config.h:70
UHD_API const std::string install_prefix()
Return the default CMake install prefix for this build.
UHD_API const std::string boost_version()
Return the version of Boost this build was built with.
UHD_API const std::string cxx_flags()
Return the C++ flags passed into this build.
UHD_API const std::string c_compiler()
Return the C compiler used for this build.
UHD_API const std::string build_date()
Return the date and time (GMT) this UHD build was built.
UHD_API const std::string cxx_compiler()
Return the C++ compiler used for this build.
UHD_API const std::string enabled_components()
Return the UHD components enabled for this build, comma-delimited.
UHD_API const std::string c_flags()
Return the C flags passed into this build.
UHD_API const std::string libusb_version()
Return the version of libusb this build was built with.
Definition: build_info.hpp:12