summaryrefslogtreecommitdiffstats
path: root/lib/widgets
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:22:40 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-23 20:22:40 +0000
commitcf21ddc3cce570e574364e841758b59c0f8e8e04 (patch)
tree9f79e4569bb2991b4de8c25dd23795126ac0914c /lib/widgets
parentf9c30e41d26594598abaa8315c4488b6c5ff38ea (diff)
downloadtdevelop-cf21ddc3cce570e574364e841758b59c0f8e8e04.tar.gz
tdevelop-cf21ddc3cce570e574364e841758b59c0f8e8e04.zip
[kdevelop] initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1216516 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'lib/widgets')
-rw-r--r--lib/widgets/CMakeLists.txt52
-rw-r--r--lib/widgets/propeditor/CMakeLists.txt59
2 files changed, 111 insertions, 0 deletions
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}
+)