We can use python to do the cbor conversion.. Since scons (python) is needed anyway… that would work.. https://github.com/openconnectivityfoundation/DeviceBuilder/blob/master/src/swag2cbor.py
Kind Regards, Wouter From: iotivity-dev-boun...@lists.iotivity.org [mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Mats Wichmann Sent: 05 March 2018 12:49 To: iotivity-dev@lists.iotivity.org; Heldt-Sheller, Nathan <nathan.heldt-shel...@intel.com>; iotivity-dev@lists.iotivity.org Subject: Re: [dev] .dat files not being .gitignored? following on from Phil, the underlying issue is since json2cbor is a binary generated during the build, it does not work at build time for cross builds (host != target, think android in particular). thus a set of checked in dat files is needed. in master, currently, after a .dat is generated to out it is copied back to the src tree specifically so that git status will tell us something is out of sync. that may not be optimal, people are free to suggest better answers. On March 4, 2018 9:49:20 PM MST, "Heldt-Sheller, Nathan" <nathan.heldt-shel...@intel.com<mailto:nathan.heldt-shel...@intel.com>> wrote: Hi Devs, It seems the various .dat files are no longer being .gitignored. Since they are not in the /out dir, but are still rebuilt by scons, shouldn’t they be left out? Is there a reason for this? Thanks, Nathan -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
_______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev