Build libcurl static library on Windows

Download the latest curl generic source from: http://curl.haxx.se/latest.cgi?curl=tar.gz
Extract the source to a local directory (we’ll be using C:\libcurl)
Open a command prompt
“C:\Program Files (x86)\Microsoft Visual Studio 15.0\VC\bin\vcvars32.bat” To initialize your VC environment variables (adjust your VS 2015 installation directory as needed)
cd C:\libcurl\winbuild

nmake /f Makefile.vc mode=static VC=14

The build should appear in C:\libcurl\builds\libcurl-vc14-x86-release-static-ipv6-sspi-winssl

References :
http://stackoverflow.com/questions/20171165/getting-libcurl-to-work-with-visual-studio-2013