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)