diff options
author | Josh Blum <josh@joshknows.com> | 2010-10-04 10:09:31 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-10-04 10:09:31 -0700 |
commit | 1da774f8abffefb9ed239699551fb116a5effba3 (patch) | |
tree | 77385c5a521e5a2e99dbf969d7770ff4b6bf229f /host/lib/version.cpp | |
parent | 46d2fc423d2fdcf32454621c6f41e555d2496702 (diff) | |
parent | 9cea1342941e74b911ca26cc41c64e340f04c270 (diff) | |
download | uhd-1da774f8abffefb9ed239699551fb116a5effba3.tar.gz uhd-1da774f8abffefb9ed239699551fb116a5effba3.tar.bz2 uhd-1da774f8abffefb9ed239699551fb116a5effba3.zip |
Merge branch 'timeout' into usrp_e_mmap
Diffstat (limited to 'host/lib/version.cpp')
-rw-r--r-- | host/lib/version.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/host/lib/version.cpp b/host/lib/version.cpp index 5edbca09b..93fdecb1a 100644 --- a/host/lib/version.cpp +++ b/host/lib/version.cpp @@ -21,3 +21,17 @@ std::string uhd::get_version_string(void){ return UHD_VERSION_STRING; } + +#include <uhd/utils/static.hpp> +#include <boost/version.hpp> +#include <iostream> + +UHD_STATIC_BLOCK(print_system_info){ + std::cout + << BOOST_PLATFORM << "; " + << BOOST_COMPILER << "; " + << "Boost_" << BOOST_VERSION << "; " + << "UHD_" << uhd::get_version_string() + << std::endl << std::endl + ; +} |