diff options
author | Martin Braun <martin.braun@ettus.com> | 2020-10-12 15:38:20 +0200 |
---|---|---|
committer | Aaron Rossetto <aaron.rossetto@ni.com> | 2020-10-12 15:10:47 -0500 |
commit | 77511533a6441471a145c470f6cc91b356848d6f (patch) | |
tree | f6e9d8178b62220f4cab468de7369765b6297b91 /host/python/CMakeLists.txt | |
parent | 0a5e173eba82859e4e5d5c9d19852e8131d5deac (diff) | |
download | uhd-77511533a6441471a145c470f6cc91b356848d6f.tar.gz uhd-77511533a6441471a145c470f6cc91b356848d6f.tar.bz2 uhd-77511533a6441471a145c470f6cc91b356848d6f.zip |
python: Move multi_usrp_python to its own module
This helps with recompilation times of UHD.
No functional changes.
Diffstat (limited to 'host/python/CMakeLists.txt')
-rw-r--r-- | host/python/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/host/python/CMakeLists.txt b/host/python/CMakeLists.txt index a8d974936..d4417903d 100644 --- a/host/python/CMakeLists.txt +++ b/host/python/CMakeLists.txt @@ -29,7 +29,10 @@ execute_process( OUTPUT_VARIABLE PYTHON_NUMPY_INCLUDE_DIR) # Build pyuhd library -add_library(pyuhd SHARED pyuhd.cpp) +add_library(pyuhd SHARED + pyuhd.cpp + ${CMAKE_SOURCE_DIR}/lib/usrp/multi_usrp_python.cpp +) # python expects extension modules with a particular suffix if(WIN32) set_target_properties(pyuhd PROPERTIES PREFIX "lib" SUFFIX ".pyd") |