(self)
| 32 | del self.options.msvc_runtime |
| 33 | |
| 34 | def build(self): |
| 35 | cmake = CMake(self) |
| 36 | if self.settings.os != "Windows" and self.options.libftdi: |
| 37 | cmake.definitions["USE_LIBFTDI"] = "ON" |
| 38 | if self.options.openmp: |
| 39 | cmake.definitions["USE_OPENMP"] = "ON" |
| 40 | if self.options.onnx: |
| 41 | cmake.definitions["BUILD_ONNX"] = "ON" |
| 42 | if self.options.bluetooth: |
| 43 | cmake.definitions["BUILD_BLUETOOTH"] = "ON" |
| 44 | if self.options.ble: |
| 45 | cmake.definitions["BUILD_BLE"] = "ON" |
| 46 | if self.options.synchroni: |
| 47 | if self.settings.os == "Android": |
| 48 | cmake.definitions["BUILD_SYNCHRONI_SDK"] = "OFF" |
| 49 | else: |
| 50 | cmake.definitions["BUILD_SYNCHRONI_SDK"] = "ON" |
| 51 | if self.settings.os != "Windows" and self.options.periphery: |
| 52 | cmake.definitions["USE_PERIPHERY"] = "ON" |
| 53 | if self.settings.os == "Windows" and self.options.oymotion: |
| 54 | cmake.definitions["BUILD_OYMOTION_SDK"] = "ON" |
| 55 | if self.settings.os == "Windows" and self.options.static_msvc_runtime: |
| 56 | cmake.definitions["MSVC_RUNTIME"] = "static" |
| 57 | else: |
| 58 | cmake.definitions["MSVC_RUNTIME"] = "dynamic" |
| 59 | cmake.configure() |
| 60 | cmake.build() |
| 61 | |
| 62 | def package(self): |
| 63 | cmake = CMake(self) |
nothing calls this directly
no outgoing calls
no test coverage detected