MantisBT - CMake
View Issue Details
0007691CMakeCMakepublic2008-09-17 10:462008-12-19 14:45
Mike McQuaid 
Clinton Stimpson 
normalfeatureN/A
closedwon't fix 
CMake-2-6 
 
0007691: Provide QT_LIBRARIES_RELEASE and QT_LIBRARIES_DEBUG
If you are installing libraries it would be incredibly useful to have access to these two variables. Myself and at least one other organisation (from the cmake mailing list) currently have a hideous module that parses this from QT_LIBRARIES but with a 2-line change this could be easily done from UseQt4.cmake.

I've attached a patch that would fix this and a module that provides the "hack".
No tags attached.
patch QT_LIBRARIES_RELEASE_DEBUG.patch (709) 2008-09-17 10:46
https://public.kitware.com/Bug/file/1717/QT_LIBRARIES_RELEASE_DEBUG.patch
? GetQtLibrariesReleaseDebug.cmake (914) 2008-09-17 10:48
https://public.kitware.com/Bug/file/1718/GetQtLibrariesReleaseDebug.cmake
Issue History
2008-09-17 10:46Mike McQuaidNew Issue
2008-09-17 10:46Mike McQuaidFile Added: QT_LIBRARIES_RELEASE_DEBUG.patch
2008-09-17 10:48Mike McQuaidFile Added: GetQtLibrariesReleaseDebug.cmake
2008-09-17 10:50Mike McQuaidNote Added: 0013488
2008-09-25 13:43Bill HoffmanStatusnew => assigned
2008-09-25 13:43Bill HoffmanAssigned To => Clinton Stimpson
2008-09-25 16:50Clinton StimpsonStatusassigned => resolved
2008-09-25 16:50Clinton StimpsonResolutionopen => won't fix
2008-09-25 16:50Clinton StimpsonNote Added: 0013586
2008-12-19 14:45Clinton StimpsonStatusresolved => closed

Notes
(0013488)
Mike McQuaid   
2008-09-17 10:50   
In addition, if this module is merged I would be happy to support it.
(0013586)
Clinton Stimpson   
2008-09-25 16:50   
After corresponding with Bill...

We do not want to add anything to support installs unless it uses GetPrerequisites.cmake. That's how cmake-gui does its Qt installation. There may be additional things your application needs that it may miss (Qt plugins, qt.conf, etc..). In that case, we can probably make a helper macro to get those.

If you still prefer to do it your way, then you can do it in your CMakeLists.txt files.