c++ - visual studio configuration type dll: how to turn off lib overwrite? -
is possible turn off .lib overwrite when building dll in vs2010?
i need both .lib , .dll, when turn configuration type dll, .lib in outpufolder gets overwritten 1-2kb .lib useless linking in main project.
edited after comment
if want dynamic library (creates dll , lib file) , static library (lib file), need separate configurations in visual studio building dynamic library , static library.
usually vs provides per default "debug" , "release" configuration. add additionally "debugstatic" , "releasestatic" configuration static library.
per default vs uses configuration names output directories, have following dirs:
-project --debug ---libraryd.dll ---libraryd.lib --release ---library.dll ---library.lib --debugstatic ---libraryd.lib --releasestatic ---library.lib
Comments
Post a Comment