From: <su...@us...> - 2008-02-11 08:44:43
|
Revision: 2571 http://tora.svn.sourceforge.net/tora/?rev=2571&view=rev Author: subik Date: 2008-02-11 00:44:47 -0800 (Mon, 11 Feb 2008) Log Message: ----------- qt3 support removed (it can be allowed by WANT_QT3SUPPORT=1 for a while) Modified Paths: -------------- trunk/tora/CMakeLists.txt Modified: trunk/tora/CMakeLists.txt =================================================================== --- trunk/tora/CMakeLists.txt 2008-02-11 08:42:21 UTC (rev 2570) +++ trunk/tora/CMakeLists.txt 2008-02-11 08:44:47 UTC (rev 2571) @@ -132,17 +132,19 @@ SET (QT_MIN_VERSION "4.2.0") SET (QT_USE_QTSQL TRUE) SET (QT_USE_QTNETWORK TRUE) -IF (NOT WANT_NOQT3SUPPORT) +# this is a legacy option. You can use this for early stages of development +# and it will be removed later +IF (WANT_QT3SUPPORT) SET (QT_USE_QT3SUPPORT TRUE) -ENDIF (NOT WANT_NOQT3SUPPORT) + MESSAGE("Qt3 legacy support has been requested.") +ELSE (WANT_QT3SUPPORT) + MESSAGE("No Qt3 legacy support. And it's good.") +ENDIF (WANT_QT3SUPPORT) FIND_PACKAGE(Qt4 REQUIRED) INCLUDE( ${QT_USE_FILE} ) IF (QT_FOUND) MESSAGE("Qt4 Found OK") - IF (WANT_NOQT3SUPPORT) - MESSAGE(STATUS "Building without Qt3 Support") - ENDIF (WANT_NOQT3SUPPORT) #Add our Qt definitions ADD_DEFINITIONS( ${QT_DEFINITIONS} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |