aboutsummaryrefslogtreecommitdiffstats
path: root/host/utils/copy_python_module.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'host/utils/copy_python_module.cmake')
-rw-r--r--host/utils/copy_python_module.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/host/utils/copy_python_module.cmake b/host/utils/copy_python_module.cmake
new file mode 100644
index 000000000..379fcf13a
--- /dev/null
+++ b/host/utils/copy_python_module.cmake
@@ -0,0 +1,6 @@
+set(BINARY_DIR "" CACHE STRING "")
+set(SOURCE_DIR "" CACHE STRING "")
+file(COPY "${SOURCE_DIR}/rfnoc/" DESTINATION ${BINARY_DIR}/rfnoc
+ FILES_MATCHING PATTERN *.py)
+file(COPY "${SOURCE_DIR}/rfnoc/" DESTINATION ${BINARY_DIR}/rfnoc
+ FILES_MATCHING PATTERN *.v.mako)