[Kde-bindings] KDE/kdebindings

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri Jul 11 18:20:53 UTC 2008


SVN commit 831035 by rdale:

* Commit the results of the KDE Bindings Meeting "Let's do a smoke lib and ruby extension in
  20 minutes" demo with a QtScript smoke lib and ruby extension

CCMAIL: kde-bindings at kde.org

 M  +7 -0      ruby/CMakeLists.txt  
 A             ruby/qtscript (directory)  
 A             ruby/qtscript/CMakeLists.txt  
 A             ruby/qtscript/qtscript.cpp   [License: GPL (v2+)]
 A             ruby/qtscript/qtscript.rb  
 A             ruby/qtscript/qtscripthandlers.cpp   [License: GPL (v2+)]
 A             ruby/qtscript/smokedata.cpp   [License: UNKNOWN]
 M  +6 -0      smoke/CMakeLists.txt  
 A             smoke/qtscript (directory)  
 A             smoke/qtscript/CMakeLists.txt  
 A             smoke/qtscript/classlist  
 A             smoke/qtscript/generate.pl.cmake  
 A             smoke/qtscript/header_list  
 A             smoke/qtscript/hint_header_list.pl  
 A             smoke/qtscript/qtscript_header_list  


--- trunk/KDE/kdebindings/ruby/CMakeLists.txt #831034:831035
@@ -6,6 +6,7 @@
 OPTION(ENABLE_QTRUBY "build QtRuby" ON)
 OPTION(ENABLE_QTWEBKIT_RUBY "build QtWebKit" ON)
 OPTION(ENABLE_QTUITOOLS_RUBY "build QtUiTools" ON)
+OPTION(ENABLE_QTSCRIPT "build QtScript" ON)
 
 OPTION(ENABLE_PHONON_RUBY "build Phonon" ON)
 OPTION(ENABLE_QSCINTILLA_RUBY "build QScintilla" OFF)
@@ -28,6 +29,7 @@
 set(QTRUBY_ENABLED "no")
 set(QTWEBKIT_ENABLED "no")
 set(QTUITOOLS_ENABLED "no")
+set(QTSCRIPT_ENABLED "no")
 
 set(QSCINTILLA_ENABLED "no")
 set(QWT_ENABLED "no")
@@ -55,6 +57,10 @@
         add_subdirectory( qtuitools )
         set(QTUITOOLS_ENABLED "yes")
     endif(ENABLE_QTUITOOLS_RUBY)
+    if(ENABLE_QTSCRIPT)
+        add_subdirectory( qtscript )
+        set(QTSCRIPT_ENABLED "yes")
+    endif(ENABLE_QTSCRIPT)
 
     if(ENABLE_PHONON_RUBY AND PHONON_FOUND)
         add_subdirectory( phonon )
@@ -114,6 +120,7 @@
 message(STATUS "Build QtRuby... " ${QTRUBY_ENABLED})
 message(STATUS "Build QtWebKit Ruby... " ${QTWEBKIT_ENABLED})
 message(STATUS "Build QtUiTools Ruby... " ${QTUITOOLS_ENABLED})
+message(STATUS "Build QtScript... " ${QTSCRIPT_ENABLED})
 
 message(STATUS "Build Soprano Ruby... " ${SOPRANO_ENABLED})
 message(STATUS "Build QScintilla Ruby... " ${QSCINTILLA_ENABLED})
--- trunk/KDE/kdebindings/smoke/CMakeLists.txt #831034:831035
@@ -1,5 +1,6 @@
 OPTION(ENABLE_SMOKE "build Smoke" ON)
 OPTION(ENABLE_QTWEBKIT_SMOKE "build QtWebKitSmoke" ON)
+OPTION(ENABLE_QTSCRIPT_SMOKE "build QtScriptSmoke" ON)
 OPTION(ENABLE_QTUITOOLS_SMOKE "build QtUiToolsSmoke" ON)
 OPTION(ENABLE_PHONON_SMOKE "build PhononSmoke" ON)
 OPTION(ENABLE_QSCI_SMOKE "build QsciSmoke" ON)
@@ -25,6 +26,11 @@
         set(SMOKE_ENABLED "${SMOKE_ENABLED}, QtWebKit")
     endif(ENABLE_QTWEBKIT_SMOKE)
 
+    if(ENABLE_QTSCRIPT_SMOKE)
+        add_subdirectory(qtscript)
+        set(SMOKE_ENABLED "${SMOKE_ENABLED}, QtScript")
+    endif(ENABLE_QTSCRIPT_SMOKE)
+
     if(ENABLE_QTUITOOLS_SMOKE)
         add_subdirectory(qtuitools)
         set(SMOKE_ENABLED "${SMOKE_ENABLED}, QtUiTools")



More information about the Kde-bindings mailing list