@@ -15,10 +15,10 @@ class BrainflowConan(ConanFile):
1515 # Binary configuration
1616 settings = "os" , "compiler" , "build_type" , "arch"
1717 options = {"libftdi" : [True , False ], "openmp" : [True , False ], "onnx" : [True , False ], "bluetooth" : [True , False ],
18- "ble" : [True , False ], "periphery" : [True , False ], "oymotion" : [True , False ],
18+ "ble" : [True , False ], "periphery" : [True , False ], "oymotion" : [True , False ],"synchroni" : [ True , False ],
1919 "static_msvc_runtime" : [True , False ]}
2020 default_options = {"libftdi" : False , "openmp" : False , "onnx" : True , "bluetooth" : True ,
21- "ble" : True , "periphery" : False , "oymotion" : False , "static_msvc_runtime" : True }
21+ "ble" : True , "periphery" : False , "oymotion" : False ,"synchroni" : True , "static_msvc_runtime" : True }
2222
2323 # Sources are located in the same place as this recipe, copy them to the recipe
2424 exports_sources = "CMakeLists.txt" , "src/*" , "third_party/*" , "cpp_package/build.cmake" , "cpp_package/src/*" , "cmake/*"
@@ -43,6 +43,11 @@ def build(self):
4343 cmake .definitions ["BUILD_BLUETOOTH" ] = "ON"
4444 if self .options .ble :
4545 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"
4651 if self .settings .os != "Windows" and self .options .periphery :
4752 cmake .definitions ["USE_PERIPHERY" ] = "ON"
4853 if self .settings .os == "Windows" and self .options .oymotion :
0 commit comments