USRP Hardware Driver and USRP Manual  Version: 3.11.0.HEAD-0-g13c32cef
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 #ifndef INCLUDED_UHD_BUILD_INFO_HPP
8 #define INCLUDED_UHD_BUILD_INFO_HPP
9 
10 #include <uhd/config.hpp>
11 
12 #include <string>
13 
14 namespace uhd { namespace build_info {
15 
17  UHD_API const std::string boost_version();
18 
20  UHD_API const std::string build_date();
21 
23  UHD_API const std::string c_compiler();
24 
26  UHD_API const std::string cxx_compiler();
27 
29  UHD_API const std::string c_flags();
30 
32  UHD_API const std::string cxx_flags();
33 
35  UHD_API const std::string enabled_components();
36 
38  UHD_API const std::string install_prefix();
39 
41  UHD_API const std::string libusb_version();
42 }}
43 
44 #endif /* INCLUDED_UHD_BUILD_INFO_HPP */
UHD_API const std::string build_date()
Return the date and time (GMT) this UHD build was built.
UHD_API const std::string c_flags()
Return the C flags passed into this build.
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 libusb_version()
Return the version of libusb this build was built with.
Definition: build_info.hpp:14
UHD_API const std::string c_compiler()
Return the C compiler used for this build.
UHD_API const std::string cxx_compiler()
Return the C++ compiler used for this build.
UHD_API const std::string cxx_flags()
Return the C++ flags passed into this build.
UHD_API const std::string enabled_components()
Return the UHD components enabled for this build, comma-delimited.
#define UHD_API
Definition: config.h:63