On 08/30/2017 11:10 AM, Yegor Yefremov via iotivity-dev wrote: > On Wed, Aug 30, 2017 at 6:23 PM, Thiago Macieira > <thiago.macie...@intel.com> wrote: >> On Tuesday, 29 August 2017 18:11:53 PDT Gregg Reynolds wrote: >>>> I'm still trying to understand, what is so wrong with CMake that both >>>> IoTivity and AllJoyn are using Scons? >>> >>> No idea. All I know is that at some point a switch was made to Scons. I'm >>> not even sure what was used before that, probably autotools/make, but I >>> don't know. >> >> It was manually-maintained Makefiles. >> >> The choice to use Scons was made by the developer who volunteered to rewrite >> the Makefiles. Since there was no one else volunteering to do the work, we >> let >> the developer use what he knew best. > > OK. I see. > > What about detecting external libs via pkg-config for Linux and if not > found then use in-tree copies? Current approauch makes it hard to > cross-compile in Buildroot and co, that actually provide all necessary > libraries.
some of this is done already (sqlite usage comes to mind). the cross-compile stuff definitely needs work - I've said that before. Android works as it is a complete self-contained "buildroot" (sdk+ndk), and the darwin/ios builds use xcode, which is the same way. The Yocto build works as Phil describes it. For anything else, it will break on several assumptions that are not too terribly hard to fix, extlibs usage being one set of those - but nobody is really working on that. _______________________________________________ iotivity-dev mailing list iotivity-dev@lists.iotivity.org https://lists.iotivity.org/mailman/listinfo/iotivity-dev