diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:43:50 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-02-17 00:43:50 +0000 |
commit | ceea23677c61f20759ae986bd77b0d5c4d673edb (patch) | |
tree | 3fcec1702eaf9c14d1dd736e594f5df08dab4001 /configdialog/CMakeLists.txt | |
download | kbfx-ceea23677c61f20759ae986bd77b0d5c4d673edb.tar.gz kbfx-ceea23677c61f20759ae986bd77b0d5c4d673edb.zip |
Added old KDE3 version of kbfx
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kbfx@1091549 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'configdialog/CMakeLists.txt')
-rw-r--r-- | configdialog/CMakeLists.txt | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/configdialog/CMakeLists.txt b/configdialog/CMakeLists.txt new file mode 100644 index 0000000..c65e04b --- /dev/null +++ b/configdialog/CMakeLists.txt @@ -0,0 +1,57 @@ +SET(kbfxconfigappsrc + main.cpp + kbfxconfigapp.cpp + ) + +SET(kbfxconfigappui + kbfxthemeinfo.ui + kbfxconfigdlgbutton.ui + kbfxconfigdlgmain.ui + kbfxconfigdlgthemes.ui + kbfxconfigdlgabout.ui + kbfxconfigdlgstyle.ui + kbfxconfigdlgtooltip.ui + kbfxconfigdlgfonts-old.ui + kbfxconfigdlgplugins.ui + kbfxconfigdlglayout.ui + ) + +IF (NOT USE_KDE4) + KDE3_AUTOMOC(${kbfxconfigappsrc}) + + KDE3_ADD_UI_FILES(kbfxconfigappsrc ${kbfxconfigappui}) + + KDE3_ADD_EXECUTABLE(kbfxconfigapp ${kbfxconfigappsrc}) + + TARGET_LINK_LIBRARIES(kbfxconfigapp + kbfxdata + kbfxcommon + ${QT_AND_KDECORE_LIBS} + ${KDE3_KIO_LIBRARY} + ${KDE3_UI_LIBRARY} + ) +ELSE (NOT USE_KDE4) + KDE4_AUTOMOC(${kbfxconfigappsrc}) + + KDE4_ADD_UI3_FILES(kbfxconfigappsrc ${kbfxconfigappui}) + + KDE4_ADD_EXECUTABLE(kbfxconfigapp ${kbfxconfigappsrc}) + + TARGET_LINK_LIBRARIES(kbfxconfigapp + kbfxdata + kbfxcommon + ${KDE4_KDECORE_LIBS} + ${KDE4_KIO_LIBS} + ${KDE4_KDEUI_LIBS} + ) +ENDIF (NOT USE_KDE4) + +INSTALL(TARGETS kbfxconfigapp + RUNTIME DESTINATION ${BIN_INSTALL_DIR}) + +INSTALL(FILES kbfxconfigappui.rc DESTINATION ${DATA_INSTALL_DIR}/kbfxconfigapp) +INSTALL(FILES kbfxconfigapp.desktop kbfx_theme.desktop DESTINATION ${XDG_APPS_DIR}) +INSTALL(FILES kbfx_install_theme.desktop kbfx_prepare_theme.desktop + DESTINATION ${DATA_INSTALL_DIR}/konqueror/servicemenus) +INSTALL(FILES x-kbfxtheme.desktop + DESTINATION ${MIME_INSTALL_DIR}/application) |