I am trying to build a static library as a release others can use (and they should be able to use it whether they debug their own code or not). My library on the other hand should not contain any debug symbols or so. I only want to release the headers and the .lib file (no .dll or so).
The User of the lib should be able to use his runtime-environment and build flavor (debug or release) without any hassle.
Is this even possible with Visual Studio ?
[==> I already have read, that some users switch over to build this kind of lib with gcc]
I have tried several cases and I always get something like "_ITERATOR_DEBUG_LEVEL" conflicts or so. Static linking of the runtime libraries seems not the solution too, but what else ? Is it possible to switch off all references and let the project incorporating the library decide what runtime to use ?
Even if this question is similar to the follwing I haven't found the correct answer there: Pure static C++ Library (no dependency of MSVC C++ runtime) or here Microsoft Visual Studio ~ C/C++ Runtime Library ~ Static/dynamic linking