aboutsummaryrefslogtreecommitdiffstats
path: root/host/cmake/Modules/UHDVersion.cmake
Commit message (Collapse)AuthorAgeFilesLines
* uhd: Prepare for 4.2.0.1-rc1 releaseSteven Koo2022-07-211-1/+1
| | | | | | | | | - Updated CHANGELOG - Updated Debian changelog - Updated manifest - Updated version Signed-off-by: Steven Koo <steven.koo@ni.com>
* cmake: Add support for fedora rpm versioningmattprost2022-06-101-0/+5
| | | | | | | | | Adds cmake option for replacing dashes in the UHD Component version with underscores. This is necessary as Fedora package management is now enforcing the format <Package>-<Version>-<Release> for all rpm builds, so dashes in the UHD_VERSION from dev branches is not supported. Signed-off-by: mattprost <matt.prost@ni.com>
* cmake: Cache UHD_VERSION in all casesSteven Koo2022-06-101-2/+2
| | | | | | | This outputs the variable in the CMakeCache, so that we can scrape the version later for building package Signed-off-by: Steven Koo <steven.koo@ni.com>
* uhd: Prepare for 4.2.0.0-rc1 releaseAaron Rossetto2022-04-081-2/+2
| | | | | | - images: Updated manifest - uhd: Updated changelog and version string - debian: Updated changelog
* cmake: Replace CMAKE_{SOURCE,BINARY}_DIR with UHD_*_DIRMartin Braun2021-09-101-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | See the CMake 3.8 documentation on these two variables: https://cmake.org/cmake/help/v3.8/variable/PROJECT-NAME_SOURCE_DIR.html https://cmake.org/cmake/help/v3.8/variable/CMAKE_SOURCE_DIR.html Under normal circumstances, these two are identical. For sub-projects (i.e., when building UHD as part of something else that is also a CMake project), only the former is useful. There is no discernible downside of using UHD_SOURCE_DIR over CMAKE_SOURCE_DIR. This was changed using sed: $ sed -i "s/CMAKE_SOURCE_DIR/UHD_SOURCE_DIR/g" \ `ag -l CMAKE_SOURCE_DIR **/{CMakeLists.txt,*.cmake}` $ sed -i "s/CMAKE_BINARY_DIR/UHD_BINARY_DIR/g" \ `ag -l CMAKE_BINARY_DIR **/{CMakeLists.txt,*.cmake}` At the same time, we also replace the CMake variable UHD_HOST_ROOT (used in MPM) with UHD_SOURCE_DIR. There's no reason to have two variables with the same meaning and different names, but more importantly, this means that UHD_SOURCE_DIR is defined even in those cases where MPM calls into CMake files from UHD without any additional patches. Shoutout to GitHub user marcobergamin for bringing this up.
* uhd: Update version, manifest, and changelogsAaron Rossetto2021-07-211-3/+5
| | | | | | | | | | | | | | | | | | | Recently, we released UHD v4.1.0.1, which addressed some bugs that found their way into the UHD v4.1.0.0 release. While the changes that addressed those bugs were made in the master branch, they were cherry-picked into the UHD-4.1 branch, and the v4.1.0.1 release was made from that branch. However, the version, manifest, and changelogs were updated only in the UHD-4.1 branch, not in master. The effect of that is that the current master (a.k.a. the absolute latest, perhaps unstable, use-at-your-own-risk code) branch's version, manifest, and changelogs still reflect the v4.1.0.0 release. Furthermore, the UHD documentation refers to the manifest file in the master branch as the way to get (at least) the most recent filesystem and FPGA artifacts. Not updating the manifest in master renders that documentation inaccurate. This commit updates those details in master to reflect the latest v4.1.0.1 release artifacts, and updates the version of master to 4.2.0-git.
* uhd: Update versionAaron Rossetto2021-06-161-1/+1
|
* cmake: Bump dependency versions for UHD 4.0.0.0Martin Braun2019-11-261-2/+2
| | | | | | | | | | | | - Boost >= 1.58 - CMake >= 3.5.1 - gcc >= 5.4.0 - Clang >= 3.8, AppleClang >= 600 - Python >= 3.5 (Py2k no longer supported) - Numpy >= 1.11 - C++14 for lib, include may now use C++11 constructs. - Because there is no more code requiring C++03 syntax, we remove the include-specific clang-format file
* cmake: Add UHD_COMPONENT variablemichael-west2019-10-151-0/+2
| | | | | | | | 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>
* Prepare branch for upcoming UHD 3.15 releaseMartin Braun2019-10-141-2/+2
| | | | | - Update CHANGELOG - Change UHD version to 3.15.0.0 / stable
* cmake: Update version string to 3.15.0.gitMartin Braun2019-02-131-5/+5
|
* Preparing branch for 3.14.0.0 Releasemichael-west2019-02-011-1/+1
| | | | | | | - Updated CHANGELOG - Updated fpga-src submodule - Updated version info - Updated manifest
* cmake: Update coding style to use lowercase commandsMartin Braun2018-11-141-72/+72
| | | | | | | | | | | | | | | | | Also updates our coding style file. Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case. Run the following shell code (with GNU compliant sed): cmake --help-command-list | grep -v "cmake version" | while read c; do echo 's/\b'"$(echo $c | tr '[:lower:]' '[:upper:]')"'\(\s*\)(/'"$c"'\1(/g' done > convert.sed \ && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' \ '*CMakeLists.txt' | xargs -0 gsed -i -f convert.sed && rm convert.sed (Make sure the backslashes don't get mangled!)
* cmake: Change SOVERSION and VERSION for the library filesMartin Braun2018-10-291-0/+7
| | | | | | The SOVERSION will now match the ABI string, and the VERSION matches the full UHD version. This will allow easier parallel installation of multiple versions of UHD.
* uhd: Post-release cleanupBrent Stapleton2018-07-251-2/+2
| | | | | | - Bump the UHD API version and return to development branch status - Removing artful in list of Ubuntu releases. Support for artful ended in July 2018.
* Preparing for 3.13.0.0 ReleaseMartin Braun2018-07-191-1/+1
| | | | | - Updated CHANGELOG - Updated UHD version to non-devel
* cmake: Allow to override UHD_GIT_BRANCH from CMakeMartin Braun2018-07-141-0/+4
| | | | | | Use cmake -DUHD_GIT_BRANCH_OVERRIDE=$branchname. This can be helpful when building from tarballs, but you need to have the branch information.
* cmake: Fix version numberingMartin Braun2018-07-131-2/+2
| | | | | UHD-* branches were being detected as "development", and #cmakedefine does not like it when values are actually zero.
* cmake: Changing UHD version to 3.13 and flagging branch as developmentMartin Braun2018-07-131-2/+2
|
* cmake: remove local FindGit.cmakeTrung Tran2018-06-121-0/+2
| | | | | cmake already supports find_package(Git), we are no longer need to maintain FindGit.cmake.
* Prepare branch for 3.12.0.0 releaseMartin Braun2018-05-171-2/+2
| | | | | - Updated version string - Updated CHANGELOG
* cmake: Update version string to 3.12.0.git for master branchMartin Braun2018-03-161-2/+2
|
* cmake: add manual override option to UHD_VERSIONAndrej Rode2018-03-071-1/+3
|
* Preparing branch for 3.11.0.0 releaseMartin Braun2018-02-221-1/+1
| | | | | - Updated version string - Updated CHANGELOG
* uhd: Update license headersMartin Braun2018-02-191-1/+2
| | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0.
* Move all license headers to SPDX format.Martin Braun2017-12-221-12/+1
|
* Merge branch 'maint'Martin Braun2017-05-031-10/+14
|\
| * cmake: allow commandline override of UHD_GIT_{COUNT,HASH}Andrej Rode2017-04-131-10/+14
| |
| * Preparing branch for 3.10.1.1 release.Martin Braun2017-01-121-1/+1
| | | | | | | | | | | | | | - Updated version string - Updated fpga-src submodule - Updated CHANGELOG - Updated images package
| * cmake: Fixed version num depaddingMartin Braun2016-11-301-1/+1
| |
| * Preparing branch for 3.10.1.0 releaseMartin Braun2016-10-181-1/+1
| | | | | | | | | | | | | | - Updated CHANGELOG - Updated fpga-src submodule pointer - Updated images package - Updated version string
| * cmake: Fixed UHD_VERSION_DEVEL valueMartin Braun2016-08-121-1/+1
| |
* | cmake: Change version numbering to remove leading zerosMartin Braun2016-10-311-25/+3
| |
* | Merge branch 'maint'Martin Braun2016-08-121-3/+4
|\|
| * cmake: Fixed some bugs related to identifying git branchMartin Braun2016-08-121-3/+4
| |
* | Updated version to 3.11.0.git for new master branchMartin Braun2016-08-121-2/+2
|/
* Updated repository for 3.10.0.0 ReleaseMartin Braun2016-08-111-1/+1
| | | | | | | - Updated CHANGELOG - Updated fpga-src submodule - Updated version string - Updated ABI string
* Changing UHD's versioning systemNicholas Corgan2016-06-141-9/+12
| | | | * Version numbers now Major.API.ABI.Patch
* Merge branch 'maint'Ashish Chaudhari2016-05-261-2/+13
|\
| * cmake: When git describe fails, just use defaults instead of printing warnings.Martin Braun2016-05-251-2/+13
| |
| * Preparing maint branch for 3.9.4-RC1Martin Braun2016-04-221-1/+1
| | | | | | | | | | | | | | | | | | - Updated changelog - Updated submodule pointer - Updated version Note: Image package was not updated for RC1 because it's unchanged from 3.9.3.
| * Updated branch for upcoming 3.9.3 releaseMartin Braun2016-03-141-1/+1
| | | | | | | | | | | | - Updated changelog - Updated images package - Updated version string
| * Updated repo for 3.9.2 releaseMartin Braun2015-12-221-1/+1
| | | | | | | | | | | | | | - Updated Changelog - Updated fpga submodule pointer - Updated version strings - Updated images package
| * Updated repo for 3.9.1 releaseMartin Braun2015-09-111-1/+1
| | | | | | | | | | - Version string - Renamed images package
* | cmake: Allow to override patch-part of version stringMartin Braun2016-03-221-0/+4
| |
* | cmake: Rename version strings for dev branchesMartin Braun2016-03-111-1/+35
| |
* | cmake: Clearly marked master/3.10 as development branch (changed version string)Martin Braun2015-09-021-1/+1
| |
* | Updated version strings on master branch (3.10)Martin Braun2015-08-311-2/+2
|/
* Updated version strings + fpga-src for 3.9.0 releaseMartin Braun2015-08-181-2/+2
|
* build: Python 3 compatibility for build scriptsNicholas Corgan2015-07-141-3/+3
|