summaryrefslogtreecommitdiff
path: root/mech/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'mech/CMakeLists.txt')
-rw-r--r--mech/CMakeLists.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/mech/CMakeLists.txt b/mech/CMakeLists.txt
new file mode 100644
index 0000000..9b045ba
--- /dev/null
+++ b/mech/CMakeLists.txt
@@ -0,0 +1,19 @@
+include(mech.cmake)
+
+set(
+ printer_config
+ "${CMAKE_CURRENT_SOURCE_DIR}/prusa-slicer/anycubic_i3_mega_s.ini"
+)
+
+set(
+ prints
+ "${CMAKE_CURRENT_SOURCE_DIR}/assembly.scad"
+ "${CMAKE_CURRENT_SOURCE_DIR}/production.scad"
+)
+
+foreach(print ${prints})
+ openscad(${print})
+ prusa_slicer(${print} ${printer_config})
+endforeach()
+
+add_subdirectory(pcb_case)