How can you build a C++ library to produce a .lib file for use in another project?

Posted by Codereview on Programmers See other posts from Programmers or by Codereview
Published on 2012-09-28T19:51:51Z Indexed on 2012/09/28 21:50 UTC
Read the original article Hit count: 174

Filed under:
|
|

I tried to use Cmake for the first time, I tried adding a library to my project (Specifically, PhysFS) but then I understood that the library had no .lib file or .a file at all, so I have to build those somehow.

I have no clue where to even start around going this, what should I do? Someone suggested I'd go to the project folder and type "Cmake ..." then "Make ..." but I was clueless as to how I'd do that.

How would I build the library headers and source files in a .lib file that I can link in C::B? I'm using Windows XP SP3

© Programmers or respective owner

Related posts about c++

Related posts about libraries