From 3f76d754866d26333c43d8403c0e694f9df972a4 Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 27 Dec 2024 13:38:16 +0100 Subject: mech: Add CMake-based build system --- mech/CMakeLists.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 mech/CMakeLists.txt (limited to 'mech/CMakeLists.txt') 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) -- cgit v1.2.3-70-g09d2