diff options
author | Josh Blum <josh@joshknows.com> | 2011-03-29 13:42:40 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-03-29 13:42:40 -0700 |
commit | 32357927bdc52b0cc7cd7b6d18457932aaa79682 (patch) | |
tree | f43cc6636ec3e0c56970bc5a25c50c8f476c7681 /host/lib/constants.hpp.in | |
parent | a2a78451d196a7f52a3e2a3bda94f52d127313d0 (diff) | |
download | uhd-32357927bdc52b0cc7cd7b6d18457932aaa79682.tar.gz uhd-32357927bdc52b0cc7cd7b6d18457932aaa79682.tar.bz2 uhd-32357927bdc52b0cc7cd7b6d18457932aaa79682.zip |
uhd: remove build information in the version string (just major.minor.patch)
Add the build info as an additional string to the get_version function().
Diffstat (limited to 'host/lib/constants.hpp.in')
-rw-r--r-- | host/lib/constants.hpp.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/host/lib/constants.hpp.in b/host/lib/constants.hpp.in index 4aedb6d4a..d62dda1cb 100644 --- a/host/lib/constants.hpp.in +++ b/host/lib/constants.hpp.in @@ -1,5 +1,5 @@ // -// Copyright 2010 Ettus Research LLC +// Copyright 2010-2011 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -19,7 +19,7 @@ #define INCLUDED_LIBUHD_CONSTANTS_HPP //these should be pre-processor macros to avoid static initialization issues -#define UHD_VERSION_STRING "@CPACK_PACKAGE_VERSION@" +#define UHD_VERSION_STRING "@UHD_VERSION@-@UHD_BUILD_INFO@" #define LOCAL_PKG_DATA_DIR "@LOCAL_PKG_DATA_DIR@" #define INSTALLER_PKG_DATA_DIR "@INSTALLER_PKG_DATA_DIR@" |