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: 334
        
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:
- Win32 Debug
- Win32 Debug Static
- Win32 Release
- Win32 Release Static
- x64 Debug
- x64 Debug Static
- x64 Release
- 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