I'm building static libraries (right now libpng
) in Microsoft Visual Studio 2008 SP1.
Do I have any possibility to build single library (one file) for both Debug
and Release
modes assuming that my library has only C code in it?
As far as I remember, gtkmm
, for instance, has it's pre-built package, where C++ based libraries are shipped in both Debug
and Release
versions, but other - as a single file only.
E.g. they have gtkmm-vc90-d-2_4.lib
and gtkmm-vc90-2_4.lib
files for C++ based libraries and they have single libraries such as gtk-win32-2.0.lib
for both Debug
and Release
configurations.
How can I achieve the same effect? What should I do to make the built library (pure C) configuration-independent?