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

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -