[CMake] FindQt4.cmake and debug/release libs
Alexander Neundorf
a.neundorf-work at gmx.net
Mon Feb 27 17:10:56 EST 2006
Hi,
currently FindQt4.cmake defines the following variables:
QT_QTFOO_LIBRARY_DEBUG: the debug version of the QtFoo library
QT_QTFOO_LIBRARY: the release version of the QtFoo library if it was
found, otherwise also the debug version
I'd like to change it to:
QT_QTFOO_LIBRARY_DEBUG: the debug version of the QtFoo library
QT_QTFOO_LIBRARY_RELEASE: the release version of the QtFoo library
QT_QTFOO_LIBRARIES: the debug version of QtFoo if only the debug version
has been found, the release version of QtFoo if only the release version
has been found, and "optimized ${QT_QTFOO_LIBRARY_RELEASE} debug
${QT_QTFOO_LIBRARY_DEBUG}" if both have been found.
What do you think ?
This would also mean that QT_QTFOO_LIBRARY wouldn't exist anymore. Does
it have to be kept for compatibility ? If yes, should it behave like
QT_QTFOO_LIBRARY_RELEASE or QT_QTFOO_LIBRARIES ?
Bye
Alex
--
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie
More information about the CMake
mailing list