aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/CMakeLists.txt
diff options
context:
space:
mode:
authorAlex Williams <alex.williams@ni.com>2018-04-17 10:36:59 -0700
committerMartin Braun <martin.braun@ettus.com>2018-04-18 15:34:51 -0700
commit7dcd16f5a6980cb1183bf1a10812c952d92c4ddb (patch)
treed1eaa9bdca563fe1f17886d771e16ff65ed153c7 /mpm/python/CMakeLists.txt
parente733e590c4b5aa3053af0681bef199d27e4b2d7a (diff)
downloaduhd-7dcd16f5a6980cb1183bf1a10812c952d92c4ddb.tar.gz
uhd-7dcd16f5a6980cb1183bf1a10812c952d92c4ddb.tar.bz2
uhd-7dcd16f5a6980cb1183bf1a10812c952d92c4ddb.zip
mpm: Use configurable components for build system
For a minimal build, default to off for components unless the MPM_DEVICE or the user requests it specifically.
Diffstat (limited to 'mpm/python/CMakeLists.txt')
-rw-r--r--mpm/python/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/mpm/python/CMakeLists.txt b/mpm/python/CMakeLists.txt
index c7a5ac698..2fd71b744 100644
--- a/mpm/python/CMakeLists.txt
+++ b/mpm/python/CMakeLists.txt
@@ -28,6 +28,7 @@ SET(PERIPH_MGR_INIT "${CMAKE_CURRENT_BINARY_DIR}/usrp_mpm/periph_manager/__init_
CONFIGURE_FILE(${SETUP_PY_IN} ${SETUP_PY})
CONFIGURE_FILE(${PERIPH_MGR_INIT_IN} ${PERIPH_MGR_INIT})
+CONFIGURE_FILE("${CMAKE_CURRENT_SOURCE_DIR}/usrp_hwd.py" "${CMAKE_CURRENT_BINARY_DIR}/usrp_hwd.py" COPYONLY)
ADD_CUSTOM_COMMAND(OUTPUT ${OUTPUT}
COMMAND ${CMAKE_COMMAND} -DSOURCE_DIR="${CMAKE_CURRENT_SOURCE_DIR}" -DBINARY_DIR="${CMAKE_CURRENT_BINARY_DIR}" -P ${CMAKE_CURRENT_SOURCE_DIR}/copy_python_module.cmake