[Kde-bindings] KDE/kdebindings/csharp/plasma

Richard Dale Richard_Dale at tipitina.demon.co.uk
Tue Dec 23 12:40:35 UTC 2008


SVN commit 900675 by rdale:

* Changed the tiger applet example to find its tiger.svg resource from within
  the plasmoid package.

CCMAIL: kde-bindings at kde.org



 M  +4 -0      ChangeLog  
 M  +18 -1     examples/applets/tiger/CMakeLists.txt  
 D             examples/applets/tiger/contents (directory)  
 A             examples/applets/tiger/tiger.cs  
 A             examples/applets/tiger/tiger.svg  


--- trunk/KDE/kdebindings/csharp/plasma/ChangeLog #900674:900675
@@ -1,3 +1,7 @@
+2008-12-01  Richard Dale  <richard.j.dale at gmail.com>
+* Changed the tiger applet example to find its tiger.svg resource from within
+  the plasmoid package.
+
 2008-12-06  Arno Rehn  <arno at arnorehn.de>
 * Don't throw an Exception on compiler warnings
 * Set CompilerOptions to an empty string so the nemerle compiler won't crash
--- trunk/KDE/kdebindings/csharp/plasma/examples/applets/tiger/CMakeLists.txt #900674:900675
@@ -1 +1,18 @@
-add_subdirectory( contents )
+project(cs-tiger)
+include(CSharpMacros)
+
+set(SRC_TIGER tiger.cs)
+
+set(CS_FLAGS -warn:0 "-r:${LIBRARY_OUTPUT_PATH}/qt-dotnet.dll,${LIBRARY_OUTPUT_PATH}/kde-dotnet.dll,${LIBRARY_OUTPUT_PATH}/plasma-dll.dll")
+add_cs_library(csharp-tiger "${SRC_TIGER}" ALL)
+
+add_dependencies(csharp-tiger plasma-dll)
+
+file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/csharp-tiger/contents/code)
+install(FILES ${LIBRARY_OUTPUT_PATH}/csharp-tiger.dll DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/csharp-tiger/contents/code RENAME main)
+
+install(FILES metadata.desktop DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/csharp-tiger)
+
+file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/csharp-tiger/contents/images)
+install(FILES tiger.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/csharp-tiger/images)
+



More information about the Kde-bindings mailing list