summaryrefslogtreecommitdiffstats
path: root/kbabel/kbabel
diff options
context:
space:
mode:
Diffstat (limited to 'kbabel/kbabel')
-rw-r--r--kbabel/kbabel/CMakeLists.txt65
-rw-r--r--kbabel/kbabel/icons/CMakeLists.txt18
-rw-r--r--kbabel/kbabel/pics/CMakeLists.txt15
3 files changed, 98 insertions, 0 deletions
diff --git a/kbabel/kbabel/CMakeLists.txt b/kbabel/kbabel/CMakeLists.txt
new file mode 100644
index 00000000..b5164b49
--- /dev/null
+++ b/kbabel/kbabel/CMakeLists.txt
@@ -0,0 +1,65 @@
+#################################################
+#
+# (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( pics )
+add_subdirectory( icons )
+
+include_directories(
+ ${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_BINARY_DIR}/../common
+ ${CMAKE_CURRENT_SOURCE_DIR}/../common
+ ${CMAKE_CURRENT_SOURCE_DIR}/../commonui
+ ${CMAKE_CURRENT_SOURCE_DIR}/../kbabeldict
+ ${CMAKE_BINARY_DIR}
+ ${TDE_INCLUDE_DIR}
+ ${TQT_INCLUDE_DIRS}
+)
+
+link_directories(
+ ${TQT_LIBRARY_DIRS}
+)
+
+
+##### other data ################################
+
+tde_install_icons( kbabel )
+install( FILES kbabel.desktop DESTINATION ${XDG_APPS_INSTALL_DIR} )
+install( FILES kbabel.kcfg DESTINATION ${KCFG_INSTALL_DIR} )
+install( FILES kbabelui.rc DESTINATION ${DATA_INSTALL_DIR}/kbabel )
+install( FILES kbabel-project.upd kbabel-difftoproject.upd DESTINATION ${KCONF_UPDATE_INSTALL_DIR} )
+
+
+##### kbabel (executable) #######################
+
+tde_add_executable( kbabel
+ SOURCES
+ main.cpp
+ LINK
+ kbabel-static kbabelcommonui-static kbabeldict-static
+ kbabelcommon-shared kbabeldictplugin-shared ktexteditor-shared
+ DESTINATION ${BIN_INSTALL_DIR}
+)
+
+
+##### kbabel (static) ###########################
+
+tde_add_library( kbabel STATIC AUTOMOC
+ SOURCES
+ kbbookmarkhandler.cpp kbcatalog.cpp headerwidget.ui headereditor.cpp
+ spelldlgwidget.ui spelldlg.cpp gotodialog.cpp kbhighlighting.cpp
+ mymultilineedit.cpp hidingmsgedit.cpp kbabelpref.cpp
+ kbcatalogview.cpp commentview.cpp contextview.cpp charselectview.cpp
+ taglistview.cpp sourceview.cpp kbabelview.cpp kbabelview2.cpp
+ kbabel.cpp kbabeliface.skel kbabelsplash.cpp kbabelsettings.kcfgc
+ fontpreferences.ui editordiffpreferences.ui editorpreferences.ui
+ searchpreferences.ui colorpreferences.ui kbcataloglistview.cpp
+ kbcataloglistviewitem.cpp errorlistview.cpp
+)
diff --git a/kbabel/kbabel/icons/CMakeLists.txt b/kbabel/kbabel/icons/CMakeLists.txt
new file mode 100644
index 00000000..e5246f5b
--- /dev/null
+++ b/kbabel/kbabel/icons/CMakeLists.txt
@@ -0,0 +1,18 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+tde_install_icons(
+ msgid2msgstr nexterror nextfuzzy nextfuzzyuntrans nextuntranslated
+ preverror prevfuzzy prevfuzzyuntrans prevuntranslated search2msgstr
+ transsearch insert_tag diff autodiff togglefuzzy insert_arg
+ spellcheck_all spellcheck_actual spellcheck_from_cursor
+ spellcheck_selected catalogmanager
+ DESTINATION ${DATA_INSTALL_DIR}/kbabel/icons )
diff --git a/kbabel/kbabel/pics/CMakeLists.txt b/kbabel/kbabel/pics/CMakeLists.txt
new file mode 100644
index 00000000..9b2499db
--- /dev/null
+++ b/kbabel/kbabel/pics/CMakeLists.txt
@@ -0,0 +1,15 @@
+#################################################
+#
+# (C) 2010-2011 Serghei Amelian
+# serghei (DOT) amelian (AT) gmail.com
+#
+# Improvements and feedback are welcome
+#
+# This file is released under GPL >= 2
+#
+#################################################
+
+install( FILES
+ broken.png missing.png needwork.png ok.png pref_identity.png
+ splash.png noflag.png
+ DESTINATION ${DATA_INSTALL_DIR}/kbabel/pics )