curl-library
Re: Recommended setup for curl cross-platform development?
Date: Sat, 27 Feb 2016 13:31:40 -0500
Yikes! That's going to be a real furball to set up and keep current for
30 targets...
Perhaps we should find a more cross-platform friendly library...
Thanks for the pointers though,
Best Regards, Dave
PS: You sure you guys don't want to rethink your header strategy?
I see in the bug reports I'm not the only one to find this challenging...
On 2/26/2016 6:10 PM, Daniel Stenberg wrote:
> On Fri, 26 Feb 2016, Dave Nadler wrote:
>
>> What is the recommended setup technique for all the developers like us?
>
> You run configure once on each platform and save that particular
> curlbuild.h and then you make your builds include that one for the
> correct platforms:
>
> [platform 1]
> ./configure ...
> mv curlbuild.h curlbuild-plat1.h
>
> [platform 2]
> ./configure ...
> mv curlbuild.h curlbuild-plat2.h
>
> [platform 2]
> ./configure ...
> mv curlbuild.h curlbuild-plat3.h
>
> then you make a new curlbuild.h:
>
> #ifdef plat1
> #include "curlbuild-plat1.h"
> #endif
> #ifdef plat2
> #include "curlbuild-plat2.h"
> #endif
> #ifdef plat3
> #include "curlbuild-plat3.h"
> #endif
-- Dave Nadler, USA East Coast voice (978) 263-0097, drn_at_nadler.com, Skype Dave.Nadler1 ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.htmlReceived on 2016-02-27