USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-gaea0e2de
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 #include <string>
12 
13 namespace uhd { namespace build_info {
14 
16 UHD_API const std::string boost_version();
17 
19 UHD_API const std::string build_date();
20 
22 UHD_API const std::string c_compiler();
23 
25 UHD_API const std::string cxx_compiler();
26 
28 UHD_API const std::string c_flags();
29 
31 UHD_API const std::string cxx_flags();
32 
34 UHD_API const std::string enabled_components();
35 
37 UHD_API const std::string install_prefix();
38 
40 UHD_API const std::string libusb_version();
41 }} // namespace uhd::build_info
42 
43 #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:13
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:68