From 918e4ff20c4e843b5b32d27274fbe558ec1b0000 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Mon, 29 Apr 2019 20:22:39 -0500 Subject: C: Add uhd_get_abi_string, uhd_get_version_string Clients that include the UHD C headers have access to the version and ABI #defines, but this is not available to clients that dynamically load the library. This commit adds publicly exported functions to provide this information. --- host/lib/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) (limited to 'host/lib/CMakeLists.txt') diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index b171cbfef..7e28399b4 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -131,6 +131,7 @@ LIBUHD_APPEND_SOURCES( if(ENABLE_C_API) LIBUHD_APPEND_SOURCES( ${CMAKE_CURRENT_SOURCE_DIR}/error_c.cpp + ${CMAKE_CURRENT_SOURCE_DIR}/version_c.cpp ) endif(ENABLE_C_API) -- cgit v1.2.3