[Kde-bindings] KDE/kdebindings

Arno Rehn kde at arnorehn.de
Fri Dec 11 21:43:46 UTC 2009


SVN commit 1061491 by arnorehn:

Replace the old C# macros with brand new ones. C# is now supported as
a 'real' language by cmake, i.e.

project(Foo CSharp)

and cmake will only look for the C# compiler.
You can also do enable_language(CSharp [OPTIONAL]) to use it as
an additional language.

Sadly we can't use add_executable and add_library, because C# compilers don't
seperate the compile & link steps, so we have two new functions:
csharp_add_executable() and csharp_add_library(). To install assemblies into the GAC
there is the install_assembly() function. More information about the new functions
can be found in the CMakeCSharpInformation.cmake file.

The new macros also have Windows/MS.NET support, so we can also compile with csc.exe.

CCMAIL: kde-bindings at kde.org



 A             cmake/modules/CMakeCSharpCompiler.cmake.in  
 A             cmake/modules/CMakeCSharpInformation.cmake  
 A             cmake/modules/CMakeDetermineCSharpCompiler.cmake  
 A             cmake/modules/CMakeTestCSharpCompiler.cmake  
 D             cmake/modules/CSharpMacros.cmake  
 M  +14 -17    cmake/modules/FindMono.cmake  
 M  +64 -88    csharp/CMakeLists.txt  
 M  +2 -2      csharp/akonadi/CMakeLists.txt  
 M  +2 -3      csharp/khtml/CMakeLists.txt  
 M  +2 -3      csharp/kimono/CMakeLists.txt  
 M  +1 -5      csharp/kimono/examples/kio/kio_monodoc/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p1/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p2/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p3/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p4/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p5/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p6/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p7/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p8/CMakeLists.txt  
 M  +1 -2      csharp/kimono/tutorials/p9/CMakeLists.txt  
 M  +2 -3      csharp/ktexteditor/CMakeLists.txt  
 M  +1 -6      csharp/ktexteditor/examples/editor/CMakeLists.txt  
 M  +1 -6      csharp/ktexteditor/examples/kwrite/CMakeLists.txt  
 M  +2 -3      csharp/nepomuk/CMakeLists.txt  
 M  +2 -3      csharp/phonon/CMakeLists.txt  
 M  +6 -9      csharp/plasma/CMakeLists.txt  
 M  +1 -5      csharp/plasma/examples/applets/analog-clock/CMakeLists.txt  
 M  +1 -5      csharp/plasma/examples/applets/extendertutorial/CMakeLists.txt  
 M  +1 -4      csharp/plasma/examples/applets/plasmaclock/CMakeLists.txt  
 M  +1 -5      csharp/plasma/examples/applets/tiger/CMakeLists.txt  
 M  +1 -5      csharp/plasma/examples/dataengines/time/CMakeLists.txt  
 M  +2 -3      csharp/qimageblitz/CMakeLists.txt  
 M  +2 -3      csharp/qscintilla/CMakeLists.txt  
 M  +3 -4      csharp/qtscript/CMakeLists.txt  
 D             csharp/qtscript/qtscript-sharp.pc  
 A             csharp/qtscript/qtscript-sharp.pc.cmake   csharp/qtscript/qtscript-sharp.pc#1059983
 M  +3 -4      csharp/qttest/CMakeLists.txt  
 D             csharp/qttest/qttest-sharp.pc  
 A             csharp/qttest/qttest-sharp.pc.cmake   csharp/qttest/qttest-sharp.pc#1059983
 M  +3 -4      csharp/qtuitools/CMakeLists.txt  
 D             csharp/qtuitools/qtuitools-sharp.pc  
 A             csharp/qtuitools/qtuitools-sharp.pc.cmake  
 M  +3 -4      csharp/qtwebkit/CMakeLists.txt  
 D             csharp/qtwebkit/qtwebkit-sharp.pc  
 A             csharp/qtwebkit/qtwebkit-sharp.pc.cmake   csharp/qtwebkit/qtwebkit-sharp.pc#1059983
 M  +5 -7      csharp/qyoto/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/graphicsview/collidingmice/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/itemviews/simpletreemodel/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/qdbus/chat/CMakeLists.txt  
 M  +2 -4      csharp/qyoto/examples/qdbus/complexpingpong/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/qdbus/listnames/CMakeLists.txt  
 M  +2 -4      csharp/qyoto/examples/qdbus/pingpong/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/qdbus/remotecontrolledcar/car/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/qdbus/remotecontrolledcar/controller/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t1/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t10/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t11/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t12/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t13/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t14/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t2/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t3/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t4/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t5/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t6/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t7/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t8/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/tutorial/t9/CMakeLists.txt  
 M  +1 -2      csharp/qyoto/examples/widgets/analogclock/CMakeLists.txt  
 D             csharp/qyoto/qyoto.pc  
 A             csharp/qyoto/qyoto.pc.cmake  
 M  +2 -3      csharp/soprano/CMakeLists.txt  


http://websvn.kde.org/?view=rev&revision=1061491



More information about the Kde-bindings mailing list