diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-05 19:41:05 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-10-05 19:41:05 +0000 |
commit | 7ffba8afee76edba6433d97864119501731742e8 (patch) | |
tree | 38b5eb5bd019b77b33f7ad8d7de7ef7666ebe8b1 /interfaces | |
parent | 0db4822126702d04068c5761e63ed9684a08981b (diff) | |
download | tdelibs-7ffba8afee76edba6433d97864119501731742e8.tar.gz tdelibs-7ffba8afee76edba6433d97864119501731742e8.zip |
[kdelibs] added initial cmake support
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1182854 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'interfaces')
-rw-r--r-- | interfaces/CMakeLists.txt | 20 | ||||
-rw-r--r-- | interfaces/khexedit/CMakeLists.txt | 22 | ||||
-rw-r--r-- | interfaces/kimproxy/CMakeLists.txt | 13 | ||||
-rw-r--r-- | interfaces/kimproxy/interface/CMakeLists.txt | 22 | ||||
-rw-r--r-- | interfaces/kimproxy/library/CMakeLists.txt | 55 | ||||
-rw-r--r-- | interfaces/kimproxy/library/icons/CMakeLists.txt | 13 | ||||
-rw-r--r-- | interfaces/kio/CMakeLists.txt | 17 | ||||
-rw-r--r-- | interfaces/kmediaplayer/CMakeLists.txt | 65 | ||||
-rw-r--r-- | interfaces/kmediaplayer/kfileaudiopreview/CMakeLists.txt | 50 | ||||
-rw-r--r-- | interfaces/kregexpeditor/CMakeLists.txt | 20 | ||||
-rw-r--r-- | interfaces/kscript/CMakeLists.txt | 61 | ||||
-rw-r--r-- | interfaces/kscript/sample/CMakeLists.txt | 47 | ||||
-rw-r--r-- | interfaces/kspeech/CMakeLists.txt | 21 | ||||
-rw-r--r-- | interfaces/ktexteditor/CMakeLists.txt | 101 | ||||
-rw-r--r-- | interfaces/terminal/CMakeLists.txt | 16 |
15 files changed, 543 insertions, 0 deletions
diff --git a/interfaces/CMakeLists.txt b/interfaces/CMakeLists.txt new file mode 100644 index 000000000..99d359979 --- /dev/null +++ b/interfaces/CMakeLists.txt @@ -0,0 +1,20 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( ktexteditor ) +add_subdirectory( kscript ) +add_subdirectory( kregexpeditor ) +add_subdirectory( kmediaplayer ) +add_subdirectory( kio ) +add_subdirectory( terminal ) +add_subdirectory( khexedit ) +add_subdirectory( kimproxy ) +add_subdirectory( kspeech ) diff --git a/interfaces/khexedit/CMakeLists.txt b/interfaces/khexedit/CMakeLists.txt new file mode 100644 index 000000000..94f2e8f30 --- /dev/null +++ b/interfaces/khexedit/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +##### headers ################################### + +install( FILES + byteseditinterface.h valuecolumninterface.h + charcolumninterface.h zoominterface.h clipboardinterface.h + DESTINATION ${INCLUDE_INSTALL_DIR}/khexedit ) + + +##### other data ################################ + +install( FILES kbytesedit.desktop DESTINATION ${SHARE_INSTALL_DIR}/servicetypes ) diff --git a/interfaces/kimproxy/CMakeLists.txt b/interfaces/kimproxy/CMakeLists.txt new file mode 100644 index 000000000..f52118353 --- /dev/null +++ b/interfaces/kimproxy/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( interface ) +add_subdirectory( library ) diff --git a/interfaces/kimproxy/interface/CMakeLists.txt b/interfaces/kimproxy/interface/CMakeLists.txt new file mode 100644 index 000000000..f1335c5f4 --- /dev/null +++ b/interfaces/kimproxy/interface/CMakeLists.txt @@ -0,0 +1,22 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +##### headers ################################### + +install( FILES + kimiface.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### other data ################################ + +install( FILES kcm_instantmessenger.desktop DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser ) +install( FILES dcopinstantmessenger.desktop DESTINATION ${SHARE_INSTALL_DIR}/servicetypes ) diff --git a/interfaces/kimproxy/library/CMakeLists.txt b/interfaces/kimproxy/library/CMakeLists.txt new file mode 100644 index 000000000..4f5d0b17a --- /dev/null +++ b/interfaces/kimproxy/library/CMakeLists.txt @@ -0,0 +1,55 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( icons ) + +add_definitions( + ${TQT_CFLAGS_OTHER} +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/kdeui + ${CMAKE_SOURCE_DIR}/kio/kio +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + kimproxy.h kimproxyiface.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### kimproxy ################################## + +set( target kimproxy ) + +set( ${target}_SRCS + kimproxy.cpp kimproxyiface.skel + ${CMAKE_SOURCE_DIR}/interfaces/kimproxy/interface/kimiface.stub +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 0.0.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} + DEPENDENCIES dcopidl +) diff --git a/interfaces/kimproxy/library/icons/CMakeLists.txt b/interfaces/kimproxy/library/icons/CMakeLists.txt new file mode 100644 index 000000000..ac95aa58c --- /dev/null +++ b/interfaces/kimproxy/library/icons/CMakeLists.txt @@ -0,0 +1,13 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +tde_install_icons( ) + diff --git a/interfaces/kio/CMakeLists.txt b/interfaces/kio/CMakeLists.txt new file mode 100644 index 000000000..efcecf65e --- /dev/null +++ b/interfaces/kio/CMakeLists.txt @@ -0,0 +1,17 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +##### headers ################################### + +install( FILES + http.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kio ) + diff --git a/interfaces/kmediaplayer/CMakeLists.txt b/interfaces/kmediaplayer/CMakeLists.txt new file mode 100644 index 000000000..03523c36e --- /dev/null +++ b/interfaces/kmediaplayer/CMakeLists.txt @@ -0,0 +1,65 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +if( ARTS_FOUND ) + add_subdirectory( kfileaudiopreview ) +endif( ARTS_FOUND ) + + +add_definitions( + ${TQT_CFLAGS_OTHER} +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kdecore + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/interfaces + ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/kdeui +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + player.h playerdcopobject.h view.h + DESTINATION ${INCLUDE_INSTALL_DIR}/kmediaplayer ) + + +##### other data ################################ + +install( FILES + kmediaplayerengine.desktop kmediaplayer.desktop + DESTINATION ${SHARE_INSTALL_DIR}/servicetypes ) + + +##### kmediaplayer ############################## + +set( target kmediaplayer ) + +set( ${target}_SRCS + player.cpp view.cpp playerdcopobject.skel +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 0.0.0 + LINK kparts-shared + DESTINATION ${LIB_INSTALL_DIR} + DEPENDENCIES dcopidl +) diff --git a/interfaces/kmediaplayer/kfileaudiopreview/CMakeLists.txt b/interfaces/kmediaplayer/kfileaudiopreview/CMakeLists.txt new file mode 100644 index 000000000..031ffddb8 --- /dev/null +++ b/interfaces/kmediaplayer/kfileaudiopreview/CMakeLists.txt @@ -0,0 +1,50 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( + ${TQT_CFLAGS_OTHER} +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${ARTS_INCLUDE_DIRS} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kdecore + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/interfaces + ${CMAKE_SOURCE_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/kdeui + ${CMAKE_SOURCE_DIR}/kio + ${CMAKE_SOURCE_DIR}/kio/kio + ${CMAKE_SOURCE_DIR}/kio/kfile + ${CMAKE_SOURCE_DIR}/arts/kde +) + +link_directories( + ${TQT_LIBRARY_DIRS} + ${ARTS_LIBRARY_DIRS} +) + + +##### kfileaudiopreview ######################### + +set( target kfileaudiopreview ) + +set( ${target}_SRCS + kfileaudiopreview.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kmediaplayer-shared artskde-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/interfaces/kregexpeditor/CMakeLists.txt b/interfaces/kregexpeditor/CMakeLists.txt new file mode 100644 index 000000000..5b2f370c8 --- /dev/null +++ b/interfaces/kregexpeditor/CMakeLists.txt @@ -0,0 +1,20 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +##### headers ################################### + +install( FILES + kregexpeditorinterface.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + +##### other data ################################ + +install( FILES kregexpeditor.desktop DESTINATION ${SHARE_INSTALL_DIR}/servicetypes ) diff --git a/interfaces/kscript/CMakeLists.txt b/interfaces/kscript/CMakeLists.txt new file mode 100644 index 000000000..8a5290c5c --- /dev/null +++ b/interfaces/kscript/CMakeLists.txt @@ -0,0 +1,61 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_subdirectory( sample ) + + +add_definitions( + ${TQT_CFLAGS_OTHER} +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR}/kdecore + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/kdeui + ${CMAKE_SOURCE_DIR}/kio + ${CMAKE_SOURCE_DIR}/kio/kio +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + scriptinterface.h scriptclientinterface.h scriptmanager.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### other data ################################ + +install( FILES scriptinterface.desktop DESTINATION ${SHARE_INSTALL_DIR}/servicetypes ) + + +##### kscript ################################### + +set( target kscript ) + +set( ${target}_SRCS + scriptmanager.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 0.0.0 + LINK kio-shared + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/interfaces/kscript/sample/CMakeLists.txt b/interfaces/kscript/sample/CMakeLists.txt new file mode 100644 index 000000000..ac5eb479b --- /dev/null +++ b/interfaces/kscript/sample/CMakeLists.txt @@ -0,0 +1,47 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( + ${TQT_CFLAGS_OTHER} +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/interfaces/kscript + ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/kdecore +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### other data ################################ + +install( FILES shellscript.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) + + +##### libshellscript ############################ + +set( target libshellscript ) + +set( ${target}_SRCS + shellscript.cpp +) + +tde_add_kpart( ${target} AUTOMOC + SOURCES ${${target}_SRCS} + LINK kscript-shared + DESTINATION ${PLUGIN_INSTALL_DIR} +) diff --git a/interfaces/kspeech/CMakeLists.txt b/interfaces/kspeech/CMakeLists.txt new file mode 100644 index 000000000..5bf284687 --- /dev/null +++ b/interfaces/kspeech/CMakeLists.txt @@ -0,0 +1,21 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +##### headers ################################### + +install( FILES + kspeech.h kspeechsink.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) + + +##### other data ################################ + +install( FILES dcoptexttospeech.desktop DESTINATION ${SHARE_INSTALL_DIR}/servicetypes ) diff --git a/interfaces/ktexteditor/CMakeLists.txt b/interfaces/ktexteditor/CMakeLists.txt new file mode 100644 index 000000000..249535a47 --- /dev/null +++ b/interfaces/ktexteditor/CMakeLists.txt @@ -0,0 +1,101 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +add_definitions( + ${TQT_CFLAGS_OTHER} + -include tqt.h +) + +include_directories( + ${TQT_INCLUDE_DIRS} + ${CMAKE_CURRENT_BINARY_DIR} + ${CMAKE_BINARY_DIR} + ${CMAKE_CURRENT_SOURCE_DIR} + ${CMAKE_BINARY_DIR}/kdecore + ${CMAKE_BINARY_DIR}/kabc + ${CMAKE_SOURCE_DIR} + ${CMAKE_SOURCE_DIR}/dcop + ${CMAKE_SOURCE_DIR}/kdecore + ${CMAKE_SOURCE_DIR}/kdeui + ${CMAKE_SOURCE_DIR}/kio + ${CMAKE_SOURCE_DIR}/kio/kio + ${CMAKE_SOURCE_DIR}/kabc + ${CMAKE_SOURCE_DIR}/interfaces +) + +link_directories( + ${TQT_LIBRARY_DIRS} +) + + +##### headers ################################### + +install( FILES + document.h view.h editor.h plugin.h editinterface.h + undointerface.h selectioninterface.h cursorinterface.h + clipboardinterface.h popupmenuinterface.h viewcursorinterface.h + searchinterface.h highlightinginterface.h blockselectioninterface.h + codecompletioninterface.h configinterface.h markinterface.h + printinterface.h wordwrapinterface.h dynwordwrapinterface.h + markinterfaceextension.h configinterfaceextension.h + encodinginterface.h viewstatusmsginterface.h + sessionconfiginterface.h editorchooser.h documentinfo.h + selectioninterfaceext.h selectionextdcopinterface.h + texthintinterface.h editinterfaceext.h variableinterface.h + templateinterface.h + DESTINATION ${INCLUDE_INSTALL_DIR}/ktexteditor ) + + +##### other data ################################ + +install( FILES + ktexteditor.desktop ktexteditoreditor.desktop + ktexteditorplugin.desktop + DESTINATION ${SHARE_INSTALL_DIR}/servicetypes ) + +install( FILES + kcm_ktexteditor.desktop + DESTINATION ${DATA_INSTALL_DIR}/kcm_componentchooser ) + + + +##### ktexteditor ############################### + +set( target ktexteditor ) + +set( ${target}_SRCS + ktexteditor.cpp + editinterface.cpp clipboardinterface.cpp selectioninterface.cpp searchinterface.cpp + codecompletioninterface.cpp wordwrapinterface.cpp blockselectioninterface.cpp + configinterface.cpp cursorinterface.cpp dynwordwrapinterface.cpp + printinterface.cpp highlightinginterface.cpp markinterface.cpp + popupmenuinterface.cpp undointerface.cpp viewcursorinterface.cpp + editdcopinterface.cpp editdcopinterface.skel clipboarddcopinterface.cpp + clipboarddcopinterface.skel selectiondcopinterface.cpp selectiondcopinterface.skel + searchdcopinterface.cpp searchdcopinterface.skel markinterfaceextension.cpp + configinterfaceextension.cpp encodinginterface.cpp sessionconfiginterface.cpp + viewstatusmsginterface.cpp editorchooser_ui.ui editorchooser.cpp + blockselectiondcopinterface.cpp documentinfo.cpp documentdcopinfo.cpp + blockselectiondcopinterface.skel documentdcopinfo.skel encodingdcopinterface.cpp + encodingdcopinterface.skel printdcopinterface.cpp printdcopinterface.skel + undodcopinterface.cpp undodcopinterface.skel viewcursordcopinterface.cpp + viewcursordcopinterface.skel viewstatusmsgdcopinterface.cpp + viewstatusmsgdcopinterface.skel selectioninterfaceext.cpp selectionextdcopinterface.skel + texthintinterface.cpp editinterfaceext.cpp variableinterface.cpp templateinterface.cpp +) + +tde_add_library( ${target} SHARED AUTOMOC + SOURCES ${${target}_SRCS} + VERSION 0.0.0 + LINK kdeui-shared kabc-shared kparts-shared + DEPENDENCIES dcopidl dcopidl2cpp + DESTINATION ${LIB_INSTALL_DIR} +) diff --git a/interfaces/terminal/CMakeLists.txt b/interfaces/terminal/CMakeLists.txt new file mode 100644 index 000000000..439c3ec29 --- /dev/null +++ b/interfaces/terminal/CMakeLists.txt @@ -0,0 +1,16 @@ +################################################# +# +# (C) 2010 Serghei Amelian +# serghei (DOT) amelian (AT) gmail.com +# +# Improvements and feedback are welcome +# +# This file is released under GPL >= 2 +# +################################################# + +##### headers ################################### + +install( FILES + kde_terminal_interface.h + DESTINATION ${INCLUDE_INSTALL_DIR} ) |