I have a set of classes that I’d like to compile so that the source isn’t viewable when distributed. Whats the best way, a static library or a dll?
If for example you wanted to compile ofxOpenCv into a library, what steps would you take in vs 2005?
I know this is a very old post but does anyone know how to do this?
On OSX/Linux you can always just compile a project into a bunch of .o objects and then run the “ar” command on that, like:
ar rcs libmylib.a class1.o class2.o
It’s a bit tricky sometimes, but that’s the simplest route to a static lib.