Cascoda / cascoda-sdk

The Cascoda Software Development Kit for utilizing the CA-8211 and CA-8210
BSD 3-Clause "New" or "Revised" License
16 stars 5 forks source link

Allow OCF to build on Windows #2

Closed CiaranWoodward closed 3 years ago

CiaranWoodward commented 3 years ago

IoTivity lite requires patching Mbedtls with some custom patches in order to build. Iotivity lite achieves this by running the 'patch' tool from a makefile. This isn't directly compatible to windows, so this PR creates a cmake script which uses the 'git apply' command to apply the relevant patches to iotivity's mbedtls.

End result: Can build OCF on windows.

Resolves #1