Thanks. If you like, and if I've time, I would not completely begin of scratch, but write much together the common practice on UNIX. Normally, a user that likes to use cURL, would (IMO) build the cURL flavor wanted (with or without zlib, with or without openSSL etc). I.e. finally, one output is needed: 1. Libcurl_a.lib and/or curl.dll 2. Curl.exe (probably optionally).
If I would rewrite the MakeBuild.vc files, I would just add the logic to find the include and lib paths for included products, just build the static libcurl_a.lib + the DLL using that static lib and curl.exe and writes its output in lib/bin/include, similar to UNIX. And not using isolated output directories for each flavor. Having removed that, then building targets from deps can become MUCH easier. I don't know whether there is a practical use of building each flavor in its own output directory. Please let me know if you want such. I still find this makefile (too) complex. BTW is there a way to distinguish mail send to the generic mail address and getting replies to on my own topic(s) to my own mail address (for all topics that were originated by a topic starter)? I now move all replies to one folder, and my miss responses to this thread... -----Original Message----- From: curl-library [mailto:curl-library-boun...@cool.haxx.se] On Behalf Of Rod Widdowson Sent: Wednesday, January 18, 2017 12:07 To: 'libcurl development' <curl-library@cool.haxx.se> Subject: RE: proposed changes for winbuild makefile > This is because the name of the target depends at runtime > whether a DLL or static curl library is built. Can this not be hidden inside Makefile.vc? !if "$(mode)"=="dll" TARGET=dll_bla_bla !else TARGET=static_bla_bla_bla !fining > I don’t have time now to fix this all, but normally ....... And thereby hangs the rub for all of use trying to build on Windows. Nonetheless "The best is the enemy of the good". We'd all like to start again from scratch and that isn't going to happen (and if I did I would spend my time making the VCXProj stuff work for me - although I'm hearing enough terrifying things about VC17 to not even entertain going there) I'm still working through your patch and should have some comments this week. I'll try to separate the "must changes" from the "it would be great if" changes from the "well if you were starting from scratch you could do it like this. Given what I say above: so long I can bludgeon what you are proposing hard enough to build the artifacts I need with the names I need there won't be any "must changes". R ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html ------------------------------------------------------------------- List admin: https://cool.haxx.se/list/listinfo/curl-library Etiquette: https://curl.haxx.se/mail/etiquette.html