Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#194 Support Windows x64 platform

None
closed
Václav Zeman
None
5
2013-07-14
2009-06-12
ccpearson
No

Update Visual Studio config to build binaries targetting "x64" platform.

Note that this change would double the number of intermediate directories. With the existing directory structure, there would then be 24 directories under "msvc8" and 104 directories under "msvc8\test". For example:

msvc8
log4cplus_dll.Debug.Win32
log4cplus_static.Debug.Win32
loggingserver.Debug.Win32
log4cplus_dll.Debug_Unicode.Win32
log4cplus_static.Debug_Unicode.Win32
loggingserver.Debug_Unicode.Win32
log4cplus_dll.Release.Win32
log4cplus_static.Release.Win32
loggingserver.Release.Win32
log4cplus_dll.Release_Unicode.Win32
log4cplus_static.Release_Unicode.Win32
loggingserver.Release_Unicode.Win32
log4cplus_dll.Debug.x64
log4cplus_static.Debug.x64
loggingserver.Debug.x64
log4cplus_dll.Debug_Unicode.x64
log4cplus_static.Debug_Unicode.x64
loggingserver.Debug_Unicode.x64
log4cplus_dll.Release.x64
log4cplus_static.Release.x64
loggingserver.Release.x64
log4cplus_dll.Release_Unicode.x64
log4cplus_static.Release_Unicode.x64
loggingserver.Release_Unicode.x64

This would be even worse if configs for other platforms (Itanium) were added later. A cleaner structure might be as follows:

$(PlatformName)\$(ConfigName)\$(ProjectName)

For example:

msvc8
Win23
Debug
log4cplus_dll
log4cplus_static
loggingserver
Debug_Unicode
log4cplus_dll
log4cplus_static
loggingserver
...
x64
Debug
log4cplus_dll
log4cplus_static
loggingserver
Debug_Unicode
log4cplus_dll
log4cplus_static
loggingserver
...

Discussion

  • Václav Zeman
    Václav Zeman
    2009-06-13

    I was thinking about Windows x64 support before the 1.0.3 release. The main problem is that I cannot test it as I have no access to such platform. Also, I would like to avoid the duplication that you have also noticed, too many similar but different configurations within the solution. Please, try using the CMake based build to get Windows x64 binaries, for now.

     
  • Václav Zeman
    Václav Zeman
    2009-06-13

    • assigned_to: nobody --> wilx
     
  • Václav Zeman
    Václav Zeman
    2009-11-06

    I have added the x64 configuration to both PRODUCTION_1_0_x and 1.1 branches. The change will be in 1.0.4 release.

     
  • Václav Zeman
    Václav Zeman
    2009-11-06

    • status: open --> closed
     
  • Václav Zeman
    Václav Zeman
    2013-07-14

    Ticket moved from /p/log4cplus/feature-requests/15/