parent
9b60260916
commit
7aaac3ed63
@ -1,59 +1,52 @@
|
||||
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_TDECORE_LIBS}
|
||||
-lDCOP
|
||||
${KDE3_KIO_LIBRARY}
|
||||
${KDE3_UI_LIBRARY}
|
||||
-lkhtml
|
||||
)
|
||||
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_TDECORE_LIBS}
|
||||
${KDE4_KIO_LIBS}
|
||||
${KDE4_TDEUI_LIBS}
|
||||
)
|
||||
ENDIF (NOT USE_KDE4)
|
||||
|
||||
INSTALL(TARGETS kbfxconfigapp
|
||||
RUNTIME DESTINATION ${BIN_INSTALL_DIR})
|
||||
#################################################
|
||||
#
|
||||
# (C) 2011 Timothy Pearson
|
||||
# kb9vqf (AT) pearsoncomputing.net
|
||||
#
|
||||
# Improvements and feedback are welcome
|
||||
#
|
||||
# This file is released under GPL >= 2
|
||||
#
|
||||
#################################################
|
||||
|
||||
include_directories(
|
||||
${TQT_INCLUDE_DIRS}
|
||||
${TDE_INCLUDE_DIR}
|
||||
${CMAKE_BINARY_DIR}
|
||||
${CMAKE_SOURCE_DIR}/kbfxlib/common
|
||||
${CMAKE_SOURCE_DIR}/kbfxlib/data
|
||||
${CMAKE_CURRENT_BINARY_DIR}
|
||||
${CMAKE_CURRENT_SOURCE_DIR}
|
||||
)
|
||||
|
||||
link_directories(
|
||||
${TQT_LIBRARY_DIRS}
|
||||
${CMAKE_BINARY_DIR}/kbfxlib/common
|
||||
${CMAKE_BINARY_DIR}/kbfxlib/data
|
||||
)
|
||||
|
||||
|
||||
##### kbfxconfigapp (executable) ################
|
||||
|
||||
tde_add_executable( kbfxconfigapp
|
||||
SOURCES main.cpp kbfxconfigapp.cpp kbfxthemeinfo.ui
|
||||
kbfxconfigdlgbutton.ui kbfxconfigdlgmain.ui
|
||||
kbfxconfigdlgthemes.ui kbfxconfigdlgabout.ui
|
||||
kbfxconfigdlgstyle.ui kbfxconfigdlgtooltip.ui
|
||||
kbfxconfigdlgfonts-old.ui kbfxconfigdlgplugins.ui
|
||||
kbfxconfigdlglayout.ui
|
||||
LINK ${TQT_LIBRARIES} kbfxdata kbfxcommon tdecore-shared tdeui-shared DCOP-shared kio-shared khtml-shared
|
||||
DESTINATION ${BIN_INSTALL_DIR}
|
||||
)
|
||||
|
||||
|
||||
##### configuration files #######################
|
||||
|
||||
INSTALL(FILES kbfxconfigappui.rc DESTINATION ${DATA_INSTALL_DIR}/kbfxconfigapp)
|
||||
|
||||
|
||||
##### desktop files #############################
|
||||
|
||||
INSTALL(FILES kbfxconfigapp.desktop kbfx_theme.desktop DESTINATION ${XDG_APPS_INSTALL_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)
|
||||
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)
|
||||
|
Loading…
Reference in new issue