[Kde-bindings] KDE/kdebindings/csharp

Richard Dale Richard_Dale at tipitina.demon.co.uk
Mon Jun 9 09:27:51 UTC 2008


SVN commit 818692 by rdale:

* Add a C# binding for Soprano, with just the core classes for now

CCMAIL: kde-bindings at kde.org

 M  +16 -4     CMakeLists.txt  
 A             soprano (directory)  
 A             soprano/CMakeLists.txt  
 A             soprano/soprano (directory)  
 A             soprano/soprano/Soprano_BindingSet.cs  
 A             soprano/soprano/Soprano_Error.cs  
 A             soprano/soprano/Soprano_Error_Error.cs  
 A             soprano/soprano/Soprano_Error_ErrorCache.cs  
 A             soprano/soprano/Soprano_Error_Locator.cs  
 A             soprano/soprano/Soprano_Error_ParserError.cs  
 A             soprano/soprano/Soprano_Iterator.cs  
 A             soprano/soprano/Soprano_LiteralValue.cs  
 A             soprano/soprano/Soprano_Model.cs  
 A             soprano/soprano/Soprano_Node.cs  
 A             soprano/soprano/Soprano_NodeIterator.cs  
 A             soprano/soprano/Soprano_Query.cs  
 A             soprano/soprano/Soprano_QueryResultIterator.cs  
 A             soprano/soprano/Soprano_Statement.cs  
 A             soprano/soprano/Soprano_StatementIterator.cs  
 A             soprano/soprano/Soprano_Vocabulary_NAO.cs  
 A             soprano/soprano/Soprano_Vocabulary_NRL.cs  
 A             soprano/soprano/Soprano_Vocabulary_OWL.cs  
 A             soprano/soprano/Soprano_Vocabulary_RDF.cs  
 A             soprano/soprano/Soprano_Vocabulary_RDFS.cs  
 A             soprano/soprano/Soprano_Vocabulary_SIL.cs  
 A             soprano/soprano/Soprano_Vocabulary_XMLSchema.cs  
 A             soprano/src (directory)  
 A             soprano/src/AssemblyInfo.cs  
 A             soprano/src/Soprano.cs  
 A             soprano/src/soprano.cpp   [License: GPL (v2+)]


--- trunk/KDE/kdebindings/csharp/CMakeLists.txt #818691:818692
@@ -1,6 +1,7 @@
 OPTION(ENABLE_QYOTO "build Qyoto" ON)
-OPTION(ENABLE_QSCINTILLA_SHARP "build QScintillaSharp" OFF)
-OPTION(ENABLE_KIMONO "build Kimono" OFF)
+OPTION(ENABLE_QSCINTILLA_SHARP "build QScintillaSharp" ON)
+OPTION(ENABLE_SOPRANO_SHARP "build SopranoSharp" OFF)
+OPTION(ENABLE_KIMONO "build Kimono" ON)
 
 set(QYOTO_ENABLED "no")
 
@@ -27,7 +28,7 @@
 
 IF(ENABLE_QSCINTILLA_SHARP)
 	IF (NOT QYOTO_ENABLED)
-		MESSAGE(FATAL_ERROR "Qyoto is needed for QscintillaSharp. You either didn't enable it or some of it's dependencies aren't met.")
+		MESSAGE(FATAL_ERROR "Qyoto is needed for QscintillaSharp. You either didn't enable it or some of its dependencies aren't met.")
 	ENDIF (NOT QYOTO_ENABLED)
 	
 	FIND_PACKAGE(QScintilla REQUIRED)
@@ -35,11 +36,22 @@
 	ADD_SUBDIRECTORY(qscintilla)
 ENDIF(ENABLE_QSCINTILLA_SHARP)
 
+SET(SOPRANO_SHARP_ENABLED "no")
+
+IF(ENABLE_SOPRANO_SHARP)
+	IF (NOT QYOTO_ENABLED)
+		MESSAGE(FATAL_ERROR "Qyoto is needed for SopranoSharp. You either didn't enable it or some of its dependencies aren't met.")
+	ENDIF (NOT QYOTO_ENABLED)
+	
+	SET(SOPRANO_SHARP_ENABLED "yes")
+	ADD_SUBDIRECTORY(soprano)
+ENDIF(ENABLE_SOPRANO_SHARP)
+
 SET(KIMONO_ENABLED "no")
 
 IF(ENABLE_KIMONO)
 	IF (NOT QYOTO_ENABLED)
-		MESSAGE(FATAL_ERROR "Qyoto is needed for Kimono. You either didn't enable it or some of it's dependencies aren't met.")
+		MESSAGE(FATAL_ERROR "Qyoto is needed for Kimono. You either didn't enable it or some of its dependencies aren't met.")
 	ENDIF (NOT QYOTO_ENABLED)
 	
 	SET(KIMONO_ENABLED "yes")



More information about the Kde-bindings mailing list