It shouldn't make a difference to the cmake variables. The debug libraries get installed into the same frameworks. And cmake references the frameworks, not the libraries within the frameworks. To run your application with the debug libraries in the frameworks, you set the environment variable DYLD_IMAGE_SUFFIX="_debug".
Clint On Wednesday 03 September 2008 1:29:41 pm Darren Weber wrote: > Thanks, Clint! > > As you say, they provide a separate debug library, ie see: > http://trolltech.com/developer/downloads/qt/mac > > qt-mac-opensource-4.4.1.dmg > qt-mac-opensource-4.4.1-debug-libs.dmg (dmg containing ONLY the debug > libraries, only usable with dmg above installed) > > I'll check this out and see if it makes any difference to the ccmake > settings. > > Best, Darren > > On Wed, Sep 3, 2008 at 11:36 AM, <[EMAIL PROTECTED]> wrote: > > On Wednesday 03 September 2008 12:28:57 pm Darren Weber wrote: > >> In ccmake settings for VTK-5-2 with Qt 4.4 on OSX, I see a lot of > >> settings like this: > >> > >> QT_QTCORE_LIBRARY > >> optimized;/Library/Frameworks/QtCore.framework;debug;/Library/Frameworks > >>/Qt Core.framework QT_QTCORE_LIBRARY_DEBUG > >> QT_QTCORE_LIBRARY_DEBUG-NOTFOUND > >> > >> The optimized and debug libraries are both specified in one variable > >> and missing in the other. > >> > >> The general build type is RelWithDebInfo. I don't know if the Qt > >> binary installation provides debug symbols (maybe I should build Qt > >> 4.4 from source?). > >> > >> Is this a problem to resolve? > > > > Its not a problem at all on Mac and Unix/Linux. As long as you have > > something in QT_QTCORE_LIBRARY, you're fine. Some versions of Qt have > > separate debug and release libraries on some/all platforms. > > > > Clint _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
