forked from sdr/gr-osmosdr
print version information in startup message
This commit is contained in:
parent
ed253ffc1e
commit
b74aeb108e
|
@ -1,6 +1,9 @@
|
|||
#ifndef CONFIG_H_IN
|
||||
#define CONFIG_H_IN
|
||||
|
||||
#define GR_OSMOSDR_VERSION "@VERSION@"
|
||||
#define GR_OSMOSDR_LIBVER "@LIBVER@"
|
||||
|
||||
#cmakedefine ENABLE_OSMOSDR
|
||||
#cmakedefine ENABLE_FCD
|
||||
#cmakedefine ENABLE_FILE
|
||||
|
|
|
@ -113,7 +113,10 @@ osmosdr_source_c_impl::osmosdr_source_c_impl (const std::string &args)
|
|||
dev_types.push_back("miri");
|
||||
#endif
|
||||
|
||||
std::cerr << "gr-osmosdr supported device types: ";
|
||||
std::cerr << "gr-osmosdr ("
|
||||
<< GR_OSMOSDR_VERSION << " / " << GR_OSMOSDR_LIBVER
|
||||
<< ") supported device types:" << std::endl;
|
||||
std::cerr << " " << std::flush;
|
||||
BOOST_FOREACH(std::string dev_type, dev_types)
|
||||
std::cerr << dev_type << " ";
|
||||
std::cerr << std::endl << std::flush;
|
||||
|
|
Loading…
Reference in New Issue