USRP Hardware Driver and USRP Manual  Version: 4.7.0.0
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 
12 namespace uhd { namespace build_info {
13 
15 UHD_API const std::string boost_version();
16 
18 UHD_API const std::string build_date();
19 
21 UHD_API const std::string c_compiler();
22 
24 UHD_API const std::string cxx_compiler();
25 
27 UHD_API const std::string c_flags();
28 
30 UHD_API const std::string cxx_flags();
31 
33 UHD_API const std::string enabled_components();
34 
36 UHD_API const std::string install_prefix();
37 
39 UHD_API const std::string libusb_version();
40 }} // namespace uhd::build_info
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:12
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:87