Reputation: 1403
Basically, I wrote a C++ library which has a number of dependencies. They are:
I would like to be able to generate, using Visual Studio 2010, a library from this code. I would like to be able to create a new Win32 Console Application, reference the library and work with it. I don't want it to be necessary to have this new console application reference the library's dependencies as well.
I'm unsure if what I'm after is even possible. Should I create a dynamic or a static library? How should I link to it? These are sub-questions that come to mind, but I think I'm missing the big picture here.
Therefore my question is: How do I create a C++ library that can be used indepentently of its dependencies?
Upvotes: 0
Views: 257
Reputation: 25725
create wrapper functions and classes that reference these libraries? Also these other libraries have to be statically linked or if they are linked dynamically, you will have to deploy the DLLs with your application!
If all else fail, use UPX? :-) to create a single binary.
Upvotes: 1