[Kde-bindings] KDE/kdebindings/csharp/qyoto/examples

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri Apr 13 13:56:36 UTC 2007


SVN commit 653505 by rdale:

* Add ${CMAKE_CURRENT_SOURCE_DIR} to the source names to allow the
  build to work with srcdir != builddir

CCMAIL: kde-bindings at kde.org



 M  +1 -1      graphicsview/collidingmice/CMakeLists.txt  
 M  +1 -1      itemviews/simpletreemodel/CMakeLists.txt  
 M  +2 -2      qdbus/chat/CMakeLists.txt  
 M  +2 -2      qdbus/complexpingpong/CMakeLists.txt  
 M  +1 -1      qdbus/listnames/CMakeLists.txt  
 M  +2 -2      qdbus/pingpong/CMakeLists.txt  
 M  +1 -1      qdbus/remotecontrolledcar/car/CMakeLists.txt  
 M  +1 -1      qdbus/remotecontrolledcar/controller/CMakeLists.txt  
 M  +1 -1      tutorial/t1/CMakeLists.txt  
 M  +1 -1      tutorial/t10/CMakeLists.txt  
 M  +1 -1      tutorial/t11/CMakeLists.txt  
 M  +1 -1      tutorial/t12/CMakeLists.txt  
 M  +1 -1      tutorial/t13/CMakeLists.txt  
 M  +1 -1      tutorial/t14/CMakeLists.txt  
 M  +1 -1      tutorial/t2/CMakeLists.txt  
 M  +1 -1      tutorial/t3/CMakeLists.txt  
 M  +1 -1      tutorial/t4/CMakeLists.txt  
 M  +1 -1      tutorial/t5/CMakeLists.txt  
 M  +1 -1      tutorial/t6/CMakeLists.txt  
 M  +1 -1      tutorial/t7/CMakeLists.txt  
 M  +1 -1      tutorial/t8/CMakeLists.txt  
 M  +1 -1      tutorial/t9/CMakeLists.txt  
 M  +1 -1      widgets/analogclock/CMakeLists.txt  


--- trunk/KDE/kdebindings/csharp/qyoto/examples/graphicsview/collidingmice/CMakeLists.txt #653504:653505
@@ -1,7 +1,7 @@
 SET(MICE_QRC mice.qrc)
 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)
+SET(SRC_CS ${CMAKE_CURRENT_SOURCE_DIR}/main.cs ${CMAKE_CURRENT_SOURCE_DIR}/mouse.cs qrc_${CMAKE_CURRENT_SOURCE_DIR}/mouse.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/KDE/kdebindings/csharp/qyoto/examples/itemviews/simpletreemodel/CMakeLists.txt #653504:653505
@@ -1,7 +1,7 @@
 SET(SIMPLETREEMODEL_QRC simpletreemodel.qrc)
 ADD_CUSTOM_TARGET (qrc_simpletreemodel.cs ALL ${CSRCC_PATH} -name simpletreemodel ${SIMPLETREEMODEL_QRC} -o qrc_simpletreemodel.cs COMMENT "Building qrc_simpletreemodel.cs")
 
-SET(SRC_CS main.cs treemodel.cs treeitem.cs qrc_simpletreemodel.cs)
+SET(SRC_CS ${CMAKE_CURRENT_SOURCE_DIR}/main.cs ${CMAKE_CURRENT_SOURCE_DIR}/treemodel.cs ${CMAKE_CURRENT_SOURCE_DIR}/treeitem.cs qrc_${CMAKE_CURRENT_SOURCE_DIR}/simpletreemodel.cs)
 ADD_CUSTOM_TARGET (simpletreemodel.exe ALL ${GMCS_PATH} -unsafe -warn:0 -out:simpletreemodel.exe -r:../../../qt-dotnet.dll ${SRC_CS} COMMENT "Building simpletreemodel.exe")
 
 ADD_DEPENDENCIES (simpletreemodel.exe qrc_simpletreemodel.cs)
--- trunk/KDE/kdebindings/csharp/qyoto/examples/qdbus/chat/CMakeLists.txt #653504:653505
@@ -2,9 +2,9 @@
 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 COMMENT "Building chatsetnickname.cs")
+ADD_CUSTOM_TARGET(${CMAKE_CURRENT_SOURCE_DIR}/chatsetnickname.cs ALL ${UICS_PATH} ${UI_CHATSETNICKNAME} -o ${CMAKE_CURRENT_SOURCE_DIR}/chatsetnickname.cs COMMENT "Building ${CMAKE_CURRENT_SOURCE_DIR}/chatsetnickname.cs")
 
-SET(SRC_CS_CHAT chat_adaptor.cs  chat.cs  chat_interface.cs  chatmainwindow.cs  chatsetnickname.cs)
+SET(SRC_CS_CHAT chat_${CMAKE_CURRENT_SOURCE_DIR}/adaptor.cs  ${CMAKE_CURRENT_SOURCE_DIR}/chat.cs  chat_${CMAKE_CURRENT_SOURCE_DIR}/interface.cs  ${CMAKE_CURRENT_SOURCE_DIR}/chatmainwindow.cs  ${CMAKE_CURRENT_SOURCE_DIR}/chatsetnickname.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/qdbus/complexpingpong/CMakeLists.txt #653504:653505
@@ -1,6 +1,6 @@
-SET(SRC_CS_PING complexping.cs)
+SET(SRC_CS_PING ${CMAKE_CURRENT_SOURCE_DIR}/complexping.cs)
 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)
+SET(SRC_CS_PONG ${CMAKE_CURRENT_SOURCE_DIR}/complexpong.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/qdbus/listnames/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_CS listnames.cs)
+SET(SRC_CS ${CMAKE_CURRENT_SOURCE_DIR}/listnames.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/KDE/kdebindings/csharp/qyoto/examples/qdbus/pingpong/CMakeLists.txt #653504:653505
@@ -1,6 +1,6 @@
-SET(SRC_CS_PING ping.cs)
+SET(SRC_CS_PING ${CMAKE_CURRENT_SOURCE_DIR}/ping.cs)
 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)
+SET(SRC_CS_PONG ${CMAKE_CURRENT_SOURCE_DIR}/pong.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/qdbus/remotecontrolledcar/car/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_CS_CAR car_adaptor.cs  car.cs  main.cs)
+SET(SRC_CS_CAR car_${CMAKE_CURRENT_SOURCE_DIR}/adaptor.cs  ${CMAKE_CURRENT_SOURCE_DIR}/car.cs  ${CMAKE_CURRENT_SOURCE_DIR}/main.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/qdbus/remotecontrolledcar/controller/CMakeLists.txt #653504:653505
@@ -1,7 +1,7 @@
 SET(UI_CONTROLLER controller.ui)
 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)
+SET(SRC_CS_CONTROLLER ${CMAKE_CURRENT_SOURCE_DIR}/main.cs  ui_${CMAKE_CURRENT_SOURCE_DIR}/controller.cs  ${CMAKE_CURRENT_SOURCE_DIR}/controller.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t1/CMakeLists.txt #653504:653505
@@ -1,2 +1,2 @@
-SET(SRC_T1 t1.cs)
+SET(SRC_T1 ${CMAKE_CURRENT_SOURCE_DIR}/t1.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t10/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T10 t10.cs)
+SET(SRC_T10 ${CMAKE_CURRENT_SOURCE_DIR}/t10.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t11/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T11 cannonfield.cs lcdrange.cs main.cs)
+SET(SRC_T11 ${CMAKE_CURRENT_SOURCE_DIR}/cannonfield.cs ${CMAKE_CURRENT_SOURCE_DIR}/lcdrange.cs ${CMAKE_CURRENT_SOURCE_DIR}/main.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t12/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T12 cannonfield.cs lcdrange.cs main.cs)
+SET(SRC_T12 ${CMAKE_CURRENT_SOURCE_DIR}/cannonfield.cs ${CMAKE_CURRENT_SOURCE_DIR}/lcdrange.cs ${CMAKE_CURRENT_SOURCE_DIR}/main.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t13/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T13 cannonfield.cs gameboard.cs lcdrange.cs main.cs)
+SET(SRC_T13 ${CMAKE_CURRENT_SOURCE_DIR}/cannonfield.cs ${CMAKE_CURRENT_SOURCE_DIR}/gameboard.cs ${CMAKE_CURRENT_SOURCE_DIR}/lcdrange.cs ${CMAKE_CURRENT_SOURCE_DIR}/main.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t14/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T14 cannonfield.cs gameboard.cs lcdrange.cs main.cs)
+SET(SRC_T14 ${CMAKE_CURRENT_SOURCE_DIR}/cannonfield.cs ${CMAKE_CURRENT_SOURCE_DIR}/gameboard.cs ${CMAKE_CURRENT_SOURCE_DIR}/lcdrange.cs ${CMAKE_CURRENT_SOURCE_DIR}/main.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t2/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T2 t2.cs)
+SET(SRC_T2 ${CMAKE_CURRENT_SOURCE_DIR}/t2.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t3/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T3 t3.cs)
+SET(SRC_T3 ${CMAKE_CURRENT_SOURCE_DIR}/t3.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t4/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T4 t4.cs)
+SET(SRC_T4 ${CMAKE_CURRENT_SOURCE_DIR}/t4.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t5/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T5 t5.cs)
+SET(SRC_T5 ${CMAKE_CURRENT_SOURCE_DIR}/t5.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t6/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T6 t6.cs)
+SET(SRC_T6 ${CMAKE_CURRENT_SOURCE_DIR}/t6.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t7/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T7 lcdrange.cs)
+SET(SRC_T7 ${CMAKE_CURRENT_SOURCE_DIR}/lcdrange.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t8/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T8 t8.cs)
+SET(SRC_T8 ${CMAKE_CURRENT_SOURCE_DIR}/t8.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/tutorial/t9/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_T9 t9.cs)
+SET(SRC_T9 ${CMAKE_CURRENT_SOURCE_DIR}/t9.cs)
 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/KDE/kdebindings/csharp/qyoto/examples/widgets/analogclock/CMakeLists.txt #653504:653505
@@ -1,3 +1,3 @@
-SET(SRC_CS_ANALOGCLOCK analogclock.cs main.cs)
+SET(SRC_CS_ANALOGCLOCK ${CMAKE_CURRENT_SOURCE_DIR}/analogclock.cs ${CMAKE_CURRENT_SOURCE_DIR}/main.cs)
 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