title: Building libCURL with OpenSSL for Visual Studio 2015
body: <p>I'm trying to compile and build libCURL 7.49.1 with OpenSSL 1.0.2 support for use in Visual Studio 2013 on Win 64. I've found a couple of answers that provide  instructions on how to do this (<a href="https://stackoverflow.com/questions/197444/building-libcurl-with-ssl-support-on-windows">Building libcurl with SSL support on Windows</a>), but rather than following a set of instructions by rote I'd like to understand a bit more about what's going on. </p>
  
  <p>My understanding of what means to "compile and build libCURL with OpenSSL support" is that I'm going to get the source code for the libCURL project, and then compile/build it using some kind of make file provided by the developers. I'm going to let the build tool I'm going to use to build libCURL know that it should include openSSL as a dependency. Is that about right for a high-level picture of what's going on? Also, what special steps do I need to build for use in Visual Studio rather than some other IDE?</p>
  
  <p>To include another library as a dependency, the libCURL documentation says: </p>
  
  <pre><code>If you wish to support zlib, openssl, c-ares, ssh2, you will have to download
     them separately and copy them to the deps directory as shown below:
  
     somedirectory\
      |_curl-src
      | |_winbuild
      |
      |_deps
        |_ lib
        |_ include
        |_ bin
  </code></pre>
  
  <p>What exactly do I need to put in the lib, include and bin folders? Presumably lib will get the OpenSSL .lib files, the include folder will get all the OpenSSL header files, and the bin folder will include the OpenSSL .dlls and .exe? Presumably those files will be generated after I successfully build OpenSSL. Am I missing anything?</p>