[Kde-bindings] KDE/kdebindings/ruby
Maciej Mrozowski
reavertm at gmail.com
Tue Jun 29 23:57:13 UTC 2010
SVN commit 1144465 by mmrozowski:
Ruby bindings linking cleanup - link only directly required libs.
CCMAIL: kde-bindings at kde.org
M +2 -4 akonadi/CMakeLists.txt
M +4 -1 khtml/CMakeLists.txt
M +4 -1 kio/CMakeLists.txt
M +0 -4 ktexteditor/CMakeLists.txt
M +0 -4 nepomuk/CMakeLists.txt
M +0 -4 okular/CMakeLists.txt
M +5 -1 phonon/CMakeLists.txt
M +2 -3 plasma/src/CMakeLists.txt
M +5 -1 qscintilla/CMakeLists.txt
M +5 -1 qtscript/CMakeLists.txt
M +4 -1 qttest/CMakeLists.txt
M +4 -1 qtuitools/CMakeLists.txt
M +5 -1 qtwebkit/CMakeLists.txt
M +4 -1 qwt/CMakeLists.txt
M +2 -4 solid/CMakeLists.txt
M +5 -1 soprano/CMakeLists.txt
--- trunk/KDE/kdebindings/ruby/akonadi/CMakeLists.txt #1144464:1144465
@@ -6,13 +6,11 @@
add_library(rubyakonadi MODULE ${rubyakonadi_LIBRARY_SRC})
target_link_libraries(rubyakonadi
- ${QT_QTCORE_LIBRARY}
- ${RUBY_LIBRARY}
${KDEPIMLIBS_AKONADI_LIBS}
${KDEPIMLIBS_AKONADI_KMIME_LIBS}
- smokeqtcore
smokeakonadi
- qtruby4shared)
+ qtruby4shared
+)
set_target_properties(rubyakonadi PROPERTIES PREFIX "" OUTPUT_NAME akonadi)
install(TARGETS rubyakonadi DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
--- trunk/KDE/kdebindings/ruby/khtml/CMakeLists.txt #1144464:1144465
@@ -2,7 +2,10 @@
set(rubykhtml_LIBRARY_SRC khtml.cpp khtmlhandlers.cpp)
add_library(rubykhtml MODULE ${rubykhtml_LIBRARY_SRC})
-target_link_libraries(rubykhtml ${KHTML_LIBS} ${RUBY_LIBRARY} smokebase smokeqtcore smokekdecore smokekhtml qtruby4shared)
+target_link_libraries(rubykhtml
+ smokekhtml
+ qtruby4shared
+)
set_target_properties(rubykhtml PROPERTIES PREFIX "" OUTPUT_NAME khtml)
install(TARGETS rubykhtml DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES khtml.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/khtml)
--- trunk/KDE/kdebindings/ruby/kio/CMakeLists.txt #1144464:1144465
@@ -2,7 +2,10 @@
set(rubykio_LIBRARY_SRC kio.cpp kiohandlers.cpp)
add_library(rubykio MODULE ${rubykio_LIBRARY_SRC})
-target_link_libraries(rubykio ${KIO_LIBS} ${KIO_LIBRARY} smokebase smokeqtcore smokekio qtruby4shared)
+target_link_libraries(rubykio
+ smokekio
+ qtruby4shared
+)
set_target_properties(rubykio PROPERTIES PREFIX "" OUTPUT_NAME kio)
install(TARGETS rubykio DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES kio.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/kio)
--- trunk/KDE/kdebindings/ruby/ktexteditor/CMakeLists.txt #1144464:1144465
@@ -5,10 +5,6 @@
add_library(rubyktexteditor MODULE ${rubyktexteditor_LIBRARY_SRC})
target_link_libraries(rubyktexteditor
- ${QT_QTCORE_LIBRARY}
- ${RUBY_LIBRARY}
- smokeqtcore
- smokekdecore
smokektexteditor
qtruby4shared)
set_target_properties(rubyktexteditor PROPERTIES PREFIX "" OUTPUT_NAME ktexteditor)
--- trunk/KDE/kdebindings/ruby/nepomuk/CMakeLists.txt #1144464:1144465
@@ -5,11 +5,7 @@
add_library(rubynepomuk MODULE ${rubynepomuk_LIBRARY_SRC})
target_link_libraries(rubynepomuk
- ${RUBY_LIBRARY}
${NEPOMUK_LIBRARIES}
- smokeqtcore
- smokesoprano
- smokekdecore
smokenepomuk
qtruby4shared)
set_target_properties(rubynepomuk PROPERTIES PREFIX "" OUTPUT_NAME nepomuk)
--- trunk/KDE/kdebindings/ruby/okular/CMakeLists.txt #1144464:1144465
@@ -5,11 +5,7 @@
add_library(rubyokular MODULE ${rubyokular_LIBRARY_SRC})
target_link_libraries(rubyokular
- ${QT_QTCORE_LIBRARY}
- ${RUBY_LIBRARY}
${OKULAR_LIBRARIES}
- smokeqtcore
- smokekdecore
smokeokular
qtruby4shared)
set_target_properties(rubyokular PROPERTIES PREFIX "" OUTPUT_NAME okular)
--- trunk/KDE/kdebindings/ruby/phonon/CMakeLists.txt #1144464:1144465
@@ -2,7 +2,11 @@
set(rubyphonon_LIBRARY_SRC phonon.cpp phononhandlers.cpp)
add_library(rubyphonon MODULE ${rubyphonon_LIBRARY_SRC})
-target_link_libraries(rubyphonon ${PHONON_LIBS} ${RUBY_LIBRARY} smokebase smokeqtcore smokephonon qtruby4shared)
+target_link_libraries(rubyphonon
+ ${PHONON_LIBS}
+ smokephonon
+ qtruby4shared
+)
set_target_properties(rubyphonon PROPERTIES PREFIX "" OUTPUT_NAME phonon)
install(TARGETS rubyphonon DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES phonon.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/phonon)
--- trunk/KDE/kdebindings/ruby/plasma/src/CMakeLists.txt #1144464:1144465
@@ -10,10 +10,9 @@
kde4_add_library(plasma_applet SHARED ${plasma_applet_LIB_SRCS})
target_link_libraries(plasma_applet
- ${KDE4_PLASMA_LIBS}
- ${RUBY_LIBRARY}
qtruby4shared
- smokeplasma)
+ smokeplasma
+)
set_target_properties(plasma_applet PROPERTIES PREFIX "")
install(TARGETS plasma_applet DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
--- trunk/KDE/kdebindings/ruby/qscintilla/CMakeLists.txt #1144464:1144465
@@ -3,7 +3,11 @@
set(rubyqsci_LIBRARY_SRC qscintilla.cpp qscintillahandlers.cpp)
add_library(rubyqscintilla MODULE ${rubyqsci_LIBRARY_SRC})
-target_link_libraries(rubyqscintilla ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokebase smokeqtcore smokeqsci qtruby4shared)
+target_link_libraries(rubyqscintilla
+ ${QSCINTILLA_LIBRARIES}
+ smokeqsci
+ qtruby4shared
+)
set_target_properties(rubyqscintilla PROPERTIES PREFIX "" OUTPUT_NAME qscintilla)
install(TARGETS rubyqscintilla DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qscintilla.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qscintilla)
--- trunk/KDE/kdebindings/ruby/qtscript/CMakeLists.txt #1144464:1144465
@@ -4,7 +4,11 @@
set(qtscript_LIBRARY_SRC qtscript.cpp qtscripthandlers.cpp)
add_library(qtscript MODULE ${qtscript_LIBRARY_SRC})
-target_link_libraries(qtscript ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokebase smokeqtcore smokeqtscript qtruby4shared)
+target_link_libraries(qtscript
+ ${QT_QTSCRIPT_LIBRARY}
+ smokeqtscript
+ qtruby4shared
+)
set_target_properties(qtscript PROPERTIES PREFIX "")
install(TARGETS qtscript DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qtscript.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qtscript)
--- trunk/KDE/kdebindings/ruby/qttest/CMakeLists.txt #1144464:1144465
@@ -4,7 +4,10 @@
set(qttest_LIBRARY_SRC qttest.cpp qttesthandlers.cpp)
add_library(qttest MODULE ${qttest_LIBRARY_SRC})
-target_link_libraries(qttest ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokebase smokeqtcore smokeqttest qtruby4shared)
+target_link_libraries(qttest
+ smokeqttest
+ qtruby4shared
+)
set_target_properties(qttest PROPERTIES PREFIX "")
install(TARGETS qttest DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qttest.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qttest)
--- trunk/KDE/kdebindings/ruby/qtuitools/CMakeLists.txt #1144464:1144465
@@ -3,7 +3,10 @@
set(rubyqtuitools_LIBRARY_SRC qtuitools.cpp qtuitoolshandlers.cpp)
add_library(rubyqtuitools MODULE ${rubyqtuitools_LIBRARY_SRC})
-target_link_libraries(rubyqtuitools ${RUBY_LIBRARY} smokebase smokeqtcore smokeqtuitools qtruby4shared)
+target_link_libraries(rubyqtuitools
+ smokeqtuitools
+ qtruby4shared
+)
set_target_properties(rubyqtuitools PROPERTIES PREFIX "" OUTPUT_NAME qtuitools)
install(TARGETS rubyqtuitools DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qtuitools.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qtuitools)
--- trunk/KDE/kdebindings/ruby/qtwebkit/CMakeLists.txt #1144464:1144465
@@ -3,7 +3,11 @@
set(rubyqtwebkit_LIBRARY_SRC qtwebkit.cpp qtwebkithandlers.cpp)
add_library(rubyqtwebkit MODULE ${rubyqtwebkit_LIBRARY_SRC})
-target_link_libraries(rubyqtwebkit ${QT_QTWEBKIT_LIBRARY} ${RUBY_LIBRARY} smokebase smokeqtcore smokeqtwebkit qtruby4shared)
+target_link_libraries(rubyqtwebkit
+ ${QT_QTWEBKIT_LIBRARY}
+ smokeqtwebkit
+ qtruby4shared
+)
set_target_properties(rubyqtwebkit PROPERTIES PREFIX "" OUTPUT_NAME qtwebkit)
install(TARGETS rubyqtwebkit DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qtwebkit.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qtwebkit)
--- trunk/KDE/kdebindings/ruby/qwt/CMakeLists.txt #1144464:1144465
@@ -5,7 +5,10 @@
set(rubyqwt_LIBRARY_SRC qwt.cpp qwthandlers.cpp)
add_library(rubyqwt MODULE ${rubyqwt_LIBRARY_SRC})
-target_link_libraries(rubyqwt ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} ${Qwt5_Qt4_LIBRARY} smokebase smokeqtcore smokeqwt qtruby4shared)
+target_link_libraries(rubyqwt
+ smokeqwt
+ qtruby4shared
+)
set_target_properties(rubyqwt PROPERTIES PREFIX "" OUTPUT_NAME qwt)
install(TARGETS rubyqwt DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES qwt.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/qwt)
--- trunk/KDE/kdebindings/ruby/solid/CMakeLists.txt #1144464:1144465
@@ -5,12 +5,10 @@
add_library(rubysolid MODULE ${rubysolid_LIBRARY_SRC})
target_link_libraries(rubysolid
- ${QT_QTCORE_LIBRARY}
- ${RUBY_LIBRARY}
${KDE4_SOLID_LIBS}
- smokeqtcore
smokesolid
- qtruby4shared)
+ qtruby4shared
+)
set_target_properties(rubysolid PROPERTIES PREFIX "" OUTPUT_NAME solid)
install(TARGETS rubysolid DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
install(FILES solid.rb DESTINATION ${CUSTOM_RUBY_SITE_LIB_DIR}/solid)
--- trunk/KDE/kdebindings/ruby/soprano/CMakeLists.txt #1144464:1144465
@@ -3,7 +3,11 @@
set(rubysoprano_LIBRARY_SRC soprano.cpp sopranohandlers.cpp)
add_library(rubysoprano MODULE ${rubysoprano_LIBRARY_SRC})
-target_link_libraries(rubysoprano ${QT_QTCORE_LIBRARY} ${RUBY_LIBRARY} smokebase smokeqtcore smokesoprano qtruby4shared)
+target_link_libraries(rubysoprano
+ ${SOPRANO_LIBRARIES}
+ smokesoprano
+ qtruby4shared
+)
set_target_properties(rubysoprano PROPERTIES PREFIX "" OUTPUT_NAME soprano)
install(TARGETS rubysoprano DESTINATION ${CUSTOM_RUBY_SITE_ARCH_DIR})
More information about the Kde-bindings
mailing list