summaryrefslogtreecommitdiff
path: root/examples/usercmodule/micropython.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'examples/usercmodule/micropython.cmake')
-rw-r--r--examples/usercmodule/micropython.cmake11
1 files changed, 11 insertions, 0 deletions
diff --git a/examples/usercmodule/micropython.cmake b/examples/usercmodule/micropython.cmake
new file mode 100644
index 000000000..ad88d7780
--- /dev/null
+++ b/examples/usercmodule/micropython.cmake
@@ -0,0 +1,11 @@
+# This top-level micropython.cmake is responsible for listing
+# the individual modules we want to include.
+# Paths are absolute, and ${CMAKE_CURRENT_LIST_DIR} can be
+# used to prefix subdirectories.
+
+# Add the C example.
+include(${CMAKE_CURRENT_LIST_DIR}/cexample/micropython.cmake)
+
+# Add the CPP example.
+include(${CMAKE_CURRENT_LIST_DIR}/cppexample/micropython.cmake)
+