From cf21ddc3cce570e574364e841758b59c0f8e8e04 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 23 Jan 2011 20:22:40 +0000 Subject: [kdevelop] initial cmake support git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216516 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- lib/widgets/CMakeLists.txt | 52 ++++++++++++++++++++++++++++++ lib/widgets/propeditor/CMakeLists.txt | 59 +++++++++++++++++++++++++++++++++++ 2 files changed, 111 insertions(+) create mode 100644 lib/widgets/CMakeLists.txt create mode 100644 lib/widgets/propeditor/CMakeLists.txt (limited to 'lib/widgets') diff --git a/lib/widgets/CMakeLists.txt b/lib/widgets/CMakeLists.txt new file mode 100644 index 00000000..aae0455b --- /dev/null +++ b/lib/widgets/CMakeLists.txt @@ -0,0 +1,52 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( propeditor ) + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_SOURCE_DIR}/lib/interfaces + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + klistviewaction.h qcomboview.h flagboxes.h + ksavealldialog.h resizablecombo.h kcomboview.h + kdevhtmlpart.h processlinemaker.h processwidget.h + fancylistviewitem.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/widgets ) + + +##### other data ################################ + +install( FILES kdevhtml_partui.rc DESTINATION ${DATA_INSTALL_DIR}/kdevelop ) + + +##### kdevwidgets (shared) ###################### + +tde_add_library( kdevwidgets SHARED AUTOMOC + SOURCES + flagboxes.cpp qcomboview.cpp klistviewaction.cpp + kcomboview.cpp resizablecombo.cpp kdevhtmlpart.cpp + processlinemaker.cpp processwidget.cpp ksavealldialog.cpp + fancylistviewitem.cpp + VERSION 0.0.0 + LINK kio-shared khtml-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/lib/widgets/propeditor/CMakeLists.txt b/lib/widgets/propeditor/CMakeLists.txt new file mode 100644 index 00000000..792ff33c --- /dev/null +++ b/lib/widgets/propeditor/CMakeLists.txt @@ -0,0 +1,59 @@ +################################################# +# +# (C) 2010-2011 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +include_directories( + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${TDE_INCLUDE_DIR} + ${TQT_INCLUDE_DIRS} +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + childproperty.h pcombobox.h pdummywidget.h + ppointedit.h propertymachinefactory.h + pcursoredit.h pfontbutton.h prectedit.h + propertywidget.h pdateedit.h pfontcombo.h + property.h psizeedit.h pdatetimeedit.h + plineedit.h propertyeditor.h psizepolicyedit.h + pdoublenuminput.h ppixmapedit.h propertylist.h + pspinbox.h propertywidgetproxy.h multiproperty.h + pyesnobutton.h purledit.h psymbolcombo.h + pstringlistedit.h pcolorcombo.h pcolorbutton.h + pcheckbox.h plinestyleedit.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kdevelop/propeditor ) + + +##### kdevpropertyeditor (shared) ############### + +tde_add_library( kdevpropertyeditor SHARED AUTOMOC + SOURCES + childproperty.cpp pcombobox.cpp pdummywidget.cpp + ppointedit.cpp propertymachinefactory.cpp + pstringlistedit.cpp multiproperty.cpp pcursoredit.cpp + pfontbutton.cpp prectedit.cpp propertywidget.cpp + psymbolcombo.cpp pcheckbox.cpp pdateedit.cpp pfontcombo.cpp + property.cpp psizeedit.cpp purledit.cpp pcolorbutton.cpp + pdatetimeedit.cpp plineedit.cpp propertyeditor.cpp + psizepolicyedit.cpp pyesnobutton.cpp pcolorcombo.cpp + pdoublenuminput.cpp ppixmapedit.cpp propertylist.cpp + pspinbox.cpp propertywidgetproxy.cpp plinestyleedit.cpp + qeditlistbox.cpp + VERSION 0.0.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) -- cgit v1.2.3