My debug build creates /lib/myDebug.lib.
My release build creates /lib/myRelease.lib.
Both libs use the same set of input OBJ's: "./file1.obj" "./file2.obj"
When the archiver runs, it adds any existing lib folder lib's to the created lib. The resulting lib is twice as big as it should be. More importantly, it has release library OBJ's in the debug library. (Not good)
ar430" rv "../lib/myDebug.lib" "./file1.obj" "./file2.obj"
==> new archive '../lib/myDebug.lib'
==> add './file1.obj'
==> add './file2.obj'
==> add '../lib/myRelease.lib'
==> building archive '../lib/myDebug.lib'
'Finished building target: ../lib/myDebug.lib'
How do I stop the archiver from adding in the existing lib folder lib's?