diff options
author | Lane Kolbly <lane.kolbly@ni.com> | 2021-01-06 11:34:05 -0600 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2021-01-11 12:23:24 -0600 |
commit | c9b35e3b7107ab82c0e3978b7cbfd76ba98e2407 (patch) | |
tree | 3e161a882f8005baf04b3a802dc7636a579643e2 /host/tests | |
parent | 7f765f4f2be719473ee329c00f7125a785057deb (diff) | |
download | uhd-c9b35e3b7107ab82c0e3978b7cbfd76ba98e2407.tar.gz uhd-c9b35e3b7107ab82c0e3978b7cbfd76ba98e2407.tar.bz2 uhd-c9b35e3b7107ab82c0e3978b7cbfd76ba98e2407.zip |
Create C++ wrappers for MPM RPC calls
This gives us type-safety, as well as allowing us to create unit tests for
RFNoC radio_controls without having to create actual RPC servers and clients
in the unit tests.
This change also fixes a bug in mpmd_mb_controller::set_sync_source, where
it was calling the wrong MPM function.
Diffstat (limited to 'host/tests')
-rw-r--r-- | host/tests/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/host/tests/CMakeLists.txt b/host/tests/CMakeLists.txt index 99f4e5eaf..e2d192796 100644 --- a/host/tests/CMakeLists.txt +++ b/host/tests/CMakeLists.txt @@ -90,6 +90,7 @@ if(ENABLE_C_API) endif(ENABLE_C_API) include_directories("${CMAKE_SOURCE_DIR}/lib/include") +include_directories("${CMAKE_BINARY_DIR}/lib/include") include_directories("${CMAKE_CURRENT_SOURCE_DIR}/common") #for each source: build an executable, register it as a test |