[Kde-bindings] playground/bindings/kimono

Arno Rehn kde at arnorehn.de
Wed Feb 14 17:56:48 UTC 2007


SVN commit 633652 by arnorehn:

* Fixed compilation error in t14
* Modified all CMakeLists.txt to produce nicer output

CCMAIL: kde-bindings at kde.org



 M  +5 -0      ChangeLog  
 M  +3 -2      examples/graphicsview/collidingmice/CMakeLists.txt  
 M  +4 -3      examples/qdbus/chat/CMakeLists.txt  
 M  +2 -2      examples/qdbus/complexpingpong/CMakeLists.txt  
 M  +1 -1      examples/qdbus/listnames/CMakeLists.txt  
 M  +2 -2      examples/qdbus/pingpong/CMakeLists.txt  
 M  +1 -1      examples/qdbus/remotecontrolledcar/car/CMakeLists.txt  
 M  +3 -2      examples/qdbus/remotecontrolledcar/controller/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t1/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t10/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t11/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t12/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t13/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t14/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t14/gameboard.cs  
 M  +1 -1      examples/tutorial/t2/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t3/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t4/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t5/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t6/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t7/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t8/CMakeLists.txt  
 M  +1 -1      examples/tutorial/t9/CMakeLists.txt  
 M  +1 -1      examples/widgets/analogclock/CMakeLists.txt  


--- trunk/playground/bindings/kimono/ChangeLog #633651:633652
@@ -1,3 +1,8 @@
+2007-02-14  Arno Rehn  <arno at arnorehn.de>
+
+	* Fixed compilation error in t14
+	* Modified all CMakeLists.txt to produce nicer output
+
 2007-02-14  Richard Dale  <rdale at foton.es>
 
 	* Added cmake files for building the csrcc tool
--- trunk/playground/bindings/kimono/examples/graphicsview/collidingmice/CMakeLists.txt #633651:633652
@@ -1,6 +1,7 @@
 SET(MICE_QRC mice.qrc)
-ADD_CUSTOM_TARGET (qrc_mouse.cs ALL ${CSRCC_PATH} -name mice ${MICE_QRC} -o qrc_mouse.cs)
+ADD_CUSTOM_TARGET (qrc_mouse.cs ALL ${CSRCC_PATH} -name mice ${MICE_QRC} -o qrc_mouse.cs COMMENT "Building qrc_mouse.cs")
 
 SET(SRC_CS main.cs mouse.cs qrc_mouse.cs)
-ADD_CUSTOM_TARGET (collidingmice.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:collidingmice.exe -r:../../../qt-dotnet.dll ${SRC_CS})
+ADD_CUSTOM_TARGET (collidingmice.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:collidingmice.exe -r:../../../qt-dotnet.dll ${SRC_CS} COMMENT "Building collidingmice.exe")
 
+ADD_DEPENDENCIES (collidingmice.exe qrc_mouse.cs)
--- trunk/playground/bindings/kimono/examples/qdbus/chat/CMakeLists.txt #633651:633652
@@ -1,9 +1,10 @@
 SET(UI_CHATMAINWINDOW chatmainwindow.ui)
-ADD_CUSTOM_TARGET(chatmainwindow.cs ALL ${UICS_PATH} ${UI_CHATMAINWINDOW} -o chatmainwindow.cs)
+ADD_CUSTOM_TARGET(chatmainwindow.cs ALL ${UICS_PATH} ${UI_CHATMAINWINDOW} -o chatmainwindow.cs COMMENT "Building chatmainwindow.cs")
 
 SET(UI_CHATSETNICKNAME chatsetnickname.ui)
-ADD_CUSTOM_TARGET(chatsetnickname.cs ALL ${UICS_PATH} ${UI_CHATSETNICKNAME} -o chatsetnickname.cs)
+ADD_CUSTOM_TARGET(chatsetnickname.cs ALL ${UICS_PATH} ${UI_CHATSETNICKNAME} -o chatsetnickname.cs COMMENT "Building chatsetnickname.cs")
 
 SET(SRC_CS_CHAT chat_adaptor.cs  chat.cs  chat_interface.cs  chatmainwindow.cs  chatsetnickname.cs)
-ADD_CUSTOM_TARGET (chat.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:chat.exe -r:../../../qt-dotnet.dll ${SRC_CS_CHAT})
+ADD_CUSTOM_TARGET (chat.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:chat.exe -r:../../../qt-dotnet.dll ${SRC_CS_CHAT} COMMENT "Building chat.exe")
 
+ADD_DEPENDENCIES(chat.exe chatsetnickname.cs chatmainwindow.cs)
--- trunk/playground/bindings/kimono/examples/qdbus/complexpingpong/CMakeLists.txt #633651:633652
@@ -1,6 +1,6 @@
 SET(SRC_CS_PING complexping.cs)
-ADD_CUSTOM_TARGET (complexping.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:complexping.exe -r:../../../qt-dotnet.dll ${SRC_CS_PING})
+ADD_CUSTOM_TARGET (complexping.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:complexping.exe -r:../../../qt-dotnet.dll ${SRC_CS_PING} COMMENT "Building complexping.exe")
 
 SET(SRC_CS_PONG complexpong.cs)
-ADD_CUSTOM_TARGET (complexpong.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:complexpong.exe -r:../../../qt-dotnet.dll ${SRC_CS_PONG})
+ADD_CUSTOM_TARGET (complexpong.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:complexpong.exe -r:../../../qt-dotnet.dll ${SRC_CS_PONG} COMMENT "Building complexpong.exe")
 
--- trunk/playground/bindings/kimono/examples/qdbus/listnames/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_CS listnames.cs)
-ADD_CUSTOM_TARGET (listnames.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:listnames.exe -r:../../../qt-dotnet.dll ${SRC_CS})
+ADD_CUSTOM_TARGET (listnames.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:listnames.exe -r:../../../qt-dotnet.dll ${SRC_CS} COMMENT "Building listnames.exe")
 
--- trunk/playground/bindings/kimono/examples/qdbus/pingpong/CMakeLists.txt #633651:633652
@@ -1,6 +1,6 @@
 SET(SRC_CS_PING ping.cs)
-ADD_CUSTOM_TARGET (ping.exe ALL ${GMCS_PATH} -debug -unsafe -warn:0 -out:ping.exe -r:../../../qt-dotnet.dll ${SRC_CS_PING})
+ADD_CUSTOM_TARGET (ping.exe ALL ${GMCS_PATH} -debug -unsafe -warn:0 -out:ping.exe -r:../../../qt-dotnet.dll ${SRC_CS_PING} COMMENT "Building ping.exe")
 
 SET(SRC_CS_PONG pong.cs)
-ADD_CUSTOM_TARGET (pong.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:pong.exe -r:../../../qt-dotnet.dll ${SRC_CS_PONG})
+ADD_CUSTOM_TARGET (pong.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:pong.exe -r:../../../qt-dotnet.dll ${SRC_CS_PONG} COMMENT "Building pong.exe")
 
--- trunk/playground/bindings/kimono/examples/qdbus/remotecontrolledcar/car/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_CS_CAR car_adaptor.cs  car.cs  main.cs)
-ADD_CUSTOM_TARGET (car.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:car.exe -r:../../../../qt-dotnet.dll ${SRC_CS_CAR})
+ADD_CUSTOM_TARGET (car.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:car.exe -r:../../../../qt-dotnet.dll ${SRC_CS_CAR} COMMENT "Building car.exe")
 
--- trunk/playground/bindings/kimono/examples/qdbus/remotecontrolledcar/controller/CMakeLists.txt #633651:633652
@@ -1,6 +1,7 @@
 SET(UI_CONTROLLER controller.ui)
-ADD_CUSTOM_TARGET(ui_controller.cs ALL ${UICS_PATH} ${UI_CONTROLLER} -o ui_controller.cs)
+ADD_CUSTOM_TARGET(ui_controller.cs ALL ${UICS_PATH} ${UI_CONTROLLER} -o ui_controller.cs COMMENT "Building ui_controller.cs")
 
 SET(SRC_CS_CONTROLLER main.cs  ui_controller.cs  controller.cs)
-ADD_CUSTOM_TARGET (controller.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:controller.exe -r:../../../../qt-dotnet.dll ${SRC_CS_CONTROLLER})
+ADD_CUSTOM_TARGET (controller.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:controller.exe -r:../../../../qt-dotnet.dll ${SRC_CS_CONTROLLER} COMMENT "Building controller.exe")
 
+ADD_DEPENDENCIES(controller.exe ui_controller.cs)
--- trunk/playground/bindings/kimono/examples/tutorial/t1/CMakeLists.txt #633651:633652
@@ -1,2 +1,2 @@
 SET(SRC_T1 t1.cs)
-ADD_CUSTOM_TARGET (t1.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t1.exe -r:../../../qt-dotnet.dll ${SRC_T1})
+ADD_CUSTOM_TARGET (t1.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t1.exe -r:../../../qt-dotnet.dll ${SRC_T1} COMMENT "Building t1.exe")
--- trunk/playground/bindings/kimono/examples/tutorial/t10/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T10 t10.cs)
-ADD_CUSTOM_TARGET (t10.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t10.exe -r:../../../qt-dotnet.dll ${SRC_T10})
+ADD_CUSTOM_TARGET (t10.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t10.exe -r:../../../qt-dotnet.dll ${SRC_T10} COMMENT "Building t10.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t11/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T11 cannonfield.cs lcdrange.cs main.cs)
-ADD_CUSTOM_TARGET (t11.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t11.exe -r:../../../qt-dotnet.dll ${SRC_T11})
+ADD_CUSTOM_TARGET (t11.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t11.exe -r:../../../qt-dotnet.dll ${SRC_T11} COMMENT "Building t11.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t12/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T12 cannonfield.cs lcdrange.cs main.cs)
-ADD_CUSTOM_TARGET (t12.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t12.exe -r:../../../qt-dotnet.dll ${SRC_T12})
+ADD_CUSTOM_TARGET (t12.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t12.exe -r:../../../qt-dotnet.dll ${SRC_T12} COMMENT "Building t12.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t13/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T13 cannonfield.cs gameboard.cs lcdrange.cs main.cs)
-ADD_CUSTOM_TARGET (t13.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t13.exe -r:../../../qt-dotnet.dll ${SRC_T13})
+ADD_CUSTOM_TARGET (t13.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t13.exe -r:../../../qt-dotnet.dll ${SRC_T13} COMMENT "Building t13.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t14/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T14 cannonfield.cs gameboard.cs lcdrange.cs main.cs)
-ADD_CUSTOM_TARGET (t14.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t14.exe -r:../../../qt-dotnet.dll ${SRC_T14})
+ADD_CUSTOM_TARGET (t14.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t14.exe -r:../../../qt-dotnet.dll ${SRC_T14} COMMENT "Building t14.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t14/gameboard.cs #633651:633652
@@ -45,7 +45,7 @@
         force.SetRange(10, 50);
 
         QFrame cannonBox = new QFrame();
-        cannonBox.SetFrameStyle((int) (QFrame.Shape.WinPanel | QFrame.Shadow.Sunken));
+        cannonBox.SetFrameStyle((int) QFrame.Shape.WinPanel | (int) QFrame.Shadow.Sunken);
 
         cannonField = new CannonField();
 
--- trunk/playground/bindings/kimono/examples/tutorial/t2/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T2 t2.cs)
-ADD_CUSTOM_TARGET (t2.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t2.exe -r:../../../qt-dotnet.dll ${SRC_T2})
+ADD_CUSTOM_TARGET (t2.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t2.exe -r:../../../qt-dotnet.dll ${SRC_T2} COMMENT "Building t2.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t3/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T3 t3.cs)
-ADD_CUSTOM_TARGET (t3.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t3.exe -r:../../../qt-dotnet.dll ${SRC_T3})
+ADD_CUSTOM_TARGET (t3.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t3.exe -r:../../../qt-dotnet.dll ${SRC_T3} COMMENT "Building t3.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t4/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T4 t4.cs)
-ADD_CUSTOM_TARGET (t4.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t4.exe -r:../../../qt-dotnet.dll ${SRC_T4})
+ADD_CUSTOM_TARGET (t4.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t4.exe -r:../../../qt-dotnet.dll ${SRC_T4} COMMENT "Building t4.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t5/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T5 t5.cs)
-ADD_CUSTOM_TARGET (t5.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t5.exe -r:../../../qt-dotnet.dll ${SRC_T5})
+ADD_CUSTOM_TARGET (t5.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t5.exe -r:../../../qt-dotnet.dll ${SRC_T5} COMMENT "Building t5.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t6/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T6 t6.cs)
-ADD_CUSTOM_TARGET (t6.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t6.exe -r:../../../qt-dotnet.dll ${SRC_T6})
+ADD_CUSTOM_TARGET (t6.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t6.exe -r:../../../qt-dotnet.dll ${SRC_T6} COMMENT "Building t6.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t7/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T7 lcdrange.cs)
-ADD_CUSTOM_TARGET (t7.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t7.exe -r:../../../qt-dotnet.dll ${SRC_T7})
+ADD_CUSTOM_TARGET (t7.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t7.exe -r:../../../qt-dotnet.dll ${SRC_T7} COMMENT "Building t7.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t8/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T8 t8.cs)
-ADD_CUSTOM_TARGET (t8.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t8.exe -r:../../../qt-dotnet.dll ${SRC_T8})
+ADD_CUSTOM_TARGET (t8.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t8.exe -r:../../../qt-dotnet.dll ${SRC_T8} COMMENT "Building t8.exe")
 
--- trunk/playground/bindings/kimono/examples/tutorial/t9/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_T9 t9.cs)
-ADD_CUSTOM_TARGET (t9.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t9.exe -r:../../../qt-dotnet.dll ${SRC_T9})
+ADD_CUSTOM_TARGET (t9.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:t9.exe -r:../../../qt-dotnet.dll ${SRC_T9} COMMENT "Building t9.exe")
 
--- trunk/playground/bindings/kimono/examples/widgets/analogclock/CMakeLists.txt #633651:633652
@@ -1,3 +1,3 @@
 SET(SRC_CS_ANALOGCLOCK analogclock.cs main.cs)
-ADD_CUSTOM_TARGET (analogclock.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:analogclock.exe -r:../../../qt-dotnet.dll ${SRC_CS_ANALOGCLOCK})
+ADD_CUSTOM_TARGET (analogclock.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:analogclock.exe -r:../../../qt-dotnet.dll ${SRC_CS_ANALOGCLOCK} COMMENT "Building analogclock.exe")
 



More information about the Kde-bindings mailing list