[Kde-games-devel] KDE/kdegames

Pino Toscano toscano.pino at tiscali.it
Wed Feb 7 01:19:08 CET 2007


SVN commit 631029 by pino:

Enable the QT3_SUPPORT only for the part of kdegames (libs and apps) that really need it.
For those, the deprecation warnings are enabled too.

CCMAIL: kde-games-devel at kde.org


 M  +0 -1      CMakeLists.txt  
 M  +1 -0      atlantik/client/CMakeLists.txt  
 M  +1 -0      atlantik/libatlantikui/CMakeLists.txt  
 M  +1 -0      kbackgammon/CMakeLists.txt  
 M  +1 -0      kbattleship/kbattleship/CMakeLists.txt  
 M  +2 -0      kgoldrunner/src/CMakeLists.txt  
 M  +1 -0      knetwalk/src/CMakeLists.txt  
 M  +2 -0      kolf/CMakeLists.txt  
 M  +1 -0      konquest/CMakeLists.txt  
 M  +2 -0      kpat/CMakeLists.txt  
 M  +1 -0      kreversi/CMakeLists.txt  
 M  +1 -0      kshisen/CMakeLists.txt  
 M  +2 -0      ksokoban/CMakeLists.txt  
 M  +1 -0      kspaceduel/CMakeLists.txt  
 M  +1 -0      libkdegames/CMakeLists.txt  
 M  +2 -0      libksirtet/CMakeLists.txt  


--- trunk/KDE/kdegames/CMakeLists.txt #631028:631029
@@ -8,7 +8,6 @@
 include (MacroLibrary)
 
 
-add_definitions (-DQT3_SUPPORT)
 add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
 include_directories ( ${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
 set(HIGHSCORE_DIRECTORY "" CACHE STRING "whether to use system-wide highscores")
--- trunk/KDE/kdegames/atlantik/client/CMakeLists.txt #631028:631029
@@ -10,6 +10,7 @@
 ${CMAKE_CURRENT_SOURCE_DIR}/../../libkdegames
 )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/atlantik/libatlantikui/CMakeLists.txt #631028:631029
@@ -1,6 +1,7 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/atlantik/libatlantic  )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/kbackgammon/CMakeLists.txt #631028:631029
@@ -10,6 +10,7 @@
 	${CMAKE_SOURCE_DIR}/libkdegames ${CMAKE_SOURCE_DIR}/libkdegames/kgame/ 
 	${QDBUS_INCLUDE_DIRS})
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/kbattleship/kbattleship/CMakeLists.txt #631028:631029
@@ -4,6 +4,7 @@
 
 include_directories(dialogs/ ${CMAKE_SOURCE_DIR}/libkdegames ${CMAKE_SOURCE_DIR}/libkdegames/highscore  ) 
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/kgoldrunner/src/CMakeLists.txt #631028:631029
@@ -1,6 +1,8 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames ${QDBUS_INCLUDE_DIRS} )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
+
 ########### next target ###############
 
 set(kgoldrunner_SRCS 
--- trunk/KDE/kdegames/knetwalk/src/CMakeLists.txt #631028:631029
@@ -4,6 +4,7 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames ${CMAKE_SOURCE_DIR}/libkdegames/highscore  )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/kolf/CMakeLists.txt #631028:631029
@@ -1,5 +1,7 @@
 project(kolf)
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
+
 add_subdirectory( objects ) 
 add_subdirectory( sounds ) 
 add_subdirectory( courses ) 
--- trunk/KDE/kdegames/konquest/CMakeLists.txt #631028:631029
@@ -4,6 +4,7 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames  )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/kpat/CMakeLists.txt #631028:631029
@@ -4,6 +4,8 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames  )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
+
 ########### next target ###############
 
 set(RELEASE "1")
--- trunk/KDE/kdegames/kreversi/CMakeLists.txt #631028:631029
@@ -5,6 +5,7 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames ${CMAKE_SOURCE_DIR}/libkdegames/highscore  )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/kshisen/CMakeLists.txt #631028:631029
@@ -2,6 +2,7 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkmahjongg ${CMAKE_SOURCE_DIR}/libkdegames ${CMAKE_SOURCE_DIR}/libkdegames/highscore  )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/ksokoban/CMakeLists.txt #631028:631029
@@ -7,6 +7,8 @@
 add_subdirectory( data )
 add_subdirectory( images )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
+
 ########### next target ###############
 
 set(images_FILES
--- trunk/KDE/kdegames/kspaceduel/CMakeLists.txt #631028:631029
@@ -5,6 +5,7 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames  )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/libkdegames/CMakeLists.txt #631028:631029
@@ -9,6 +9,7 @@
 
 include_directories( ${CMAKE_CURRENT_BINARY_DIR}/highscore ${CMAKE_CURRENT_SOURCE_DIR}/highscore/ ${CMAKE_CURRENT_SOURCE_DIR}/kgame/ ${CMAKE_CURRENT_SOURCE_DIR}/kgame/dialogs/ )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
 
 ########### next target ###############
 
--- trunk/KDE/kdegames/libksirtet/CMakeLists.txt #631028:631029
@@ -2,6 +2,8 @@
 
 include_directories( ${CMAKE_SOURCE_DIR}/libkdegames ${CMAKE_CURRENT_SOURCE_DIR}/lib ${CMAKE_CURRENT_SOURCE_DIR}/base ${CMAKE_SOURCE_DIR}/libkdegames/highscore  )
 
+add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
+
 ########### next target ###############
 set ( libksirtet_SRCS
     base/main.cpp


More information about the kde-games-devel mailing list