How should platform specific lib files be named?

Posted by Scott Langham on Stack Overflow See other posts from Stack Overflow or by Scott Langham
Published on 2010-03-18T11:12:16Z Indexed on 2010/03/18 11:21 UTC
Read the original article Hit count: 264

Hello,

I'm working on a C++ project that produces a lib that other teams use. It's being produced in a few different flavours:

  1. Win32 Debug
  2. Win32 Debug Static
  3. Win32 Release
  4. Win32 Release Static
  5. x64 Debug
  6. x64 Debug Static
  7. x64 Release
  8. x64 Release Static

I'm wondering what the best wisdom is on how to name the dlls and what arguments are for different naming conventions. Do I output the libs into different directories, or do I append some letters on the end of the lib to differentiate them, or something else? One concern is that if I use directories, but don't give all the libs different names, users of the library will have problems where they accidentally use the wrong lib. Are these concerns valid?

Thanks very much.

© Stack Overflow or respective owner

Related posts about c++

Related posts about shared-libraries