2012/8/5 Robert Hauck <[email protected]>:
> Hi all
>
> I'm wondering if it would be possible to extend the CMake build system to
> properly handle debug libraries under Windows. The reason is, it would be
> much easier to build Equalizer with CMake externalProject if we could
> separate debug from release libs.
>
> I think, (at least) two things have to be implemented:
> - change <EQUALIZER>\libs\eq\client\client.cpp, ln 132 to something that
> differs between release and debug (adding a debug postfix)
> - change all FindXXX.cmake to properly search for debug libraries under
> Windows in gpusd, equalizer etc. This could be done by something like
> FIND_LIBRARY(EQUALIZER equalizer)
> FIND_LIBRARY(EQUALIZER_DEBUG equalizerd)
> if(EQUALIZER and EQUALIZER_DEBUG )
> set(EQUALIZER_LIBRARIES optimized ... debug ...)
> (test for all three possibilities)

Hi Robert,

This might be of interest:
http://www.cmake.org/pipermail/cmake/2009-April/028504.html

cheers, Daniel

> The debug postfix has to be discussed, could be d, _d, _debug or whatever, I
> think mostly used is the postfix d.
>
> This wouldn't affect unix or apple.
>
> Another possibility would be is to install into different directories, but I
> haven't managed to create a working CMake file which can be used for
> multi-configuration generators such as for VS.
>
> What is your opinion?
>
> Cheers,
> Robert
>
>
>
> --
> View this message in context: 
> http://software.1713.n2.nabble.com/Feature-Request-Proper-handling-of-debug-libraries-Windows-tp7580968.html
> Sent from the Equalizer - Parallel Rendering mailing list archive at 
> Nabble.com.
>
> _______________________________________________
> eq-dev mailing list
> [email protected]
> http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
> http://www.equalizergraphics.com

_______________________________________________
eq-dev mailing list
[email protected]
http://www.equalizergraphics.com/cgi-bin/mailman/listinfo/eq-dev
http://www.equalizergraphics.com

Reply via email to