[Kde-bindings] KDE/kdebindings/ruby

Richard Dale Richard_Dale at tipitina.demon.co.uk
Fri May 30 13:08:52 UTC 2008


SVN commit 814491 by rdale:

* Add a qwt ruby extension to go with the smoke lib

CCMAIL: kde-bindings at kde.org

 M  +7 -0      CMakeLists.txt  
 A             qwt (directory)  
 A             qwt/CMakeLists.txt  
 A             qwt/qwt.cpp   [License: UNKNOWN]
 A             qwt/qwt.rb  
 A             qwt/qwthandlers.cpp   [License: GPL (v2+)]


--- trunk/KDE/kdebindings/ruby/CMakeLists.txt #814490:814491
@@ -6,6 +6,7 @@
 OPTION(ENABLE_QTRUBY "build QtRuby" ON)
 OPTION(ENABLE_KORUNDUM "build Korundum" ON)
 OPTION(ENABLE_QSCINTILLA "build QScintilla" OFF)
+OPTION(ENABLE_QWT "build Qwt" OFF)
 OPTION(ENABLE_SOPRANO "build Soprano" OFF)
 OPTION(ENABLE_AKONADI "build Akonadi" OFF)
 
@@ -15,6 +16,7 @@
 set(QTRUBY_ENABLED "no")
 set(KORUNDUM_ENABLED "no")
 set(QSCINTILLA_ENABLED "no")
+set(QWT_ENABLED "no")
 set(SOPRANO_ENABLED "no")
 set(AKONADI_ENABLED "no")
 
@@ -43,6 +45,10 @@
         add_subdirectory( qscintilla )
         set(QSCINTILLA_ENABLED "yes")
     endif(ENABLE_QSCINTILLA)
+    if(ENABLE_QWT)
+        add_subdirectory( qwt )
+        set(QWT_ENABLED "yes")
+    endif(ENABLE_QWT)
 endif(RUBY_EXECUTABLE AND RUBY_LIBRARY AND RUBY_INCLUDE_PATH)
 message(STATUS "Build QtRuby... " ${QTRUBY_ENABLED})
 message(STATUS "Build Korundum... " ${KORUNDUM_ENABLED})
@@ -50,6 +56,7 @@
 message(STATUS "Build Soprano... " ${SOPRANO_ENABLED})
 message(STATUS "Build Akonadi... " ${AKONADI_ENABLED})
 message(STATUS "Build QScintilla... " ${QSCINTILLA_ENABLED})
+message(STATUS "Build Qwt... " ${QWT_ENABLED})
 
 #####################################################################
 # Kross Ruby



More information about the Kde-bindings mailing list