c++ - Making a library of libraries so that the end user doesn't require the original libraries -
i making library using c++ 11, , library uses several other libraries, freeimage , glfw. able distribute library in way end users not required install other libraries; prevent versioning issues , maintain life easy.
i developing using visual studio 2013 pro under windows, although library code cross-platform (so should able build versions os x , linux). worrying getting working under windows @ moment.
currently, making static library , have added dependant libs project in solution explorer. can utilize library in other projects, have link dependant libraries.
i think want called "convenience library" under linux, not sure.
this project intended educational resource students, , intend create open source , provide both total project , prebuilt binaries. great if pre-built binaries didn't require installation of every library using; open source projects , freely available, can't help think rolling 1 library convenient end users.
i've tried looking around on net info on this, drowned in search results linux-only solutions (and then, not related exact problem).
thank in advance, ladies , gentlemen.
try this:
lib.exe /out:convenience.lib myownlib.lib freeimage.lib glfw.lib
(the filenames examples, of course.)
c++ visual-studio-2013 static-libraries convenience-methods
No comments:
Post a Comment