USRP Hardware Driver and USRP Manual  Version: 004.000.000.HEAD-0-g8773fb2c
UHD and USRP Manual
build_info.hpp
Go to the documentation of this file.
1 //
2 // Copyright 2015 National Instruments Corp.
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
16 //
17 
18 #ifndef INCLUDED_UHD_BUILD_INFO_HPP
19 #define INCLUDED_UHD_BUILD_INFO_HPP
20 
21 #include <uhd/config.hpp>
22 
23 #include <string>
24 
25 namespace uhd { namespace build_info {
26 
28  UHD_API const std::string boost_version();
29 
31  UHD_API const std::string build_date();
32 
34  UHD_API const std::string c_compiler();
35 
37  UHD_API const std::string cxx_compiler();
38 
40  UHD_API const std::string c_flags();
41 
43  UHD_API const std::string cxx_flags();
44 
46  UHD_API const std::string enabled_components();
47 
49  UHD_API const std::string install_prefix();
50 
52  UHD_API const std::string libusb_version();
53 }}
54 
55 #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:25
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:73