Commit graph

13 commits

Author SHA1 Message Date
Martin Braun
ee520a9df5 uhd: Apply clang-format against all .cpp and .hpp files in host/
Note: template_lvbitx.{cpp,hpp} need to be excluded from the
list of files that clang-format gets applied against.
host/lib/dep is also excluded from this change.
2020-04-17 15:02:40 -07:00
michael-west
1004eef88e cmake: Add UHD_COMPONENT variable
Added cmake variable to set the component (currently UHD or MPM).
so the banner printed by the log_resource would reference the correct
component.  Added accessor function and appropriate calls in log.cpp.

Signed-off-by: michael-west <michael.west@ettus.com>
2019-10-15 15:21:52 -07:00
Martin Braun
ae5211d71d uhd: Update license headers
All copyright is now attributed to "Ettus Research, a National
Instruments company".

SPDX headers were also updated to latest version 3.0.
2018-02-19 16:54:52 -08:00
Martin Braun
4f948e2c8b Move all license headers to SPDX format. 2017-12-22 10:45:51 -08:00
trungnob
6c002e0266 log: Moved print_system_info to log.cpp.
We want to display syteminfo when the log system get initialized.
Also removes a static block.
2017-05-20 21:21:59 -07:00
Andrej Rode
21aad77c9c utils: introduce new logging API and remove msg API 2017-02-20 17:13:15 -08:00
Josh Blum
e69bcd3ea2 uhd: add calls to query an ABI compat string 2012-03-21 11:36:43 -07:00
Nicholas Corgan
2033713db5 cmake:
More git info used for build info
UHD version incorporates build info
apt/yum repos use new version number
New installer filename syntax
2012-02-28 10:36:23 -08:00
Josh Blum
c463c42f34 uhd: change how we configure version.cpp
use configure_file vs defines,
Possible fix for messaged up dependency/caching issue,
see when changing CMakeLists, even in small ways.
2011-10-25 17:27:28 -07:00
Josh Blum
833b536937 uhd: added get_version_string and way to disable system info print 2011-07-22 13:59:29 -07:00
Josh Blum
00bc8d50d5 uhd: removed constants.hpp.in, replaced w/ per source compile defines 2011-04-19 16:58:12 -07:00
Josh Blum
3a1138bc4a uhd: print system info on library load 2010-10-01 12:11:38 -07:00
Josh Blum
2a87970a9c uhd: created library code to handle paths for images and modules
- read from environment variable paths
- utility functions to get paths and search for images
- modified load modules to call the utility functions
- added private header constants.hpp to contain cmake variables of interest
- modified version.cpp to use this constants file
2010-08-09 11:24:08 -07:00
Renamed from host/lib/version.cpp.in (Browse further)