aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/python/usrp_mpm/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mpm/python/usrp_mpm/CMakeLists.txt')
-rw-r--r--mpm/python/usrp_mpm/CMakeLists.txt13
1 files changed, 7 insertions, 6 deletions
diff --git a/mpm/python/usrp_mpm/CMakeLists.txt b/mpm/python/usrp_mpm/CMakeLists.txt
index f8f94bb5d..12bcdac11 100644
--- a/mpm/python/usrp_mpm/CMakeLists.txt
+++ b/mpm/python/usrp_mpm/CMakeLists.txt
@@ -18,15 +18,16 @@
########################################################################
# This file included, use CMake directory variables
########################################################################
-
-SET(USRP_MPM_FILES
+SET(USRP_MPM_FILES ${USRP_MPM_FILES})
+SET(USRP_MPM_TOP_FILES
${CMAKE_CURRENT_SOURCE_DIR}/__init__.py
${CMAKE_CURRENT_SOURCE_DIR}/types.py
${CMAKE_CURRENT_SOURCE_DIR}/discovery.py
- ${CMAKE_CURRENT_SOURCE_DIR}/rpc_process.py
${CMAKE_CURRENT_SOURCE_DIR}/rpc_server.py
${CMAKE_CURRENT_SOURCE_DIR}/periphs.py
- ${CMAKE_CURRENT_SOURCE_DIR}/periph_manager
- ${CMAKE_CURRENT_SOURCE_DIR}/dboard_manager
- PARENT_SCOPE
)
+LIST(APPEND USRP_MPM_FILES ${USRP_MPM_TOP_FILES})
+ADD_SUBDIRECTORY(periph_manager)
+ADD_SUBDIRECTORY(dboard_manager)
+
+SET(USRP_MPM_FILES ${USRP_MPM_FILES} PARENT_SCOPE)