encapsulated function buildSketchOM extends Modelica.Icons.Function; import Arduino; import Modelica; input String sketch = "Blink.ino"; input String cmake = "C:/Program Files/CMake/bin/cmake.exe" "Absolute path to the CMake executable"; input String generator = "Visual Studio 17 2022" "CMake generator to build the Sketch" annotation( choices(choice = "Visual Studio 14 2015", choice = "Visual Studio 15 2017", choice = "Visual Studio 16 2019", choice = "Visual Studio 17 2022")); input String platform = "x64" annotation( choices(choice = "Win32", choice = "x64")); output Boolean success; end buildSketchOM;