mirror of
https://bitbucket.org/smil3y/kde-playground.git
synced 2025-02-23 18:32:51 +00:00
54 lines
1.4 KiB
CMake
54 lines
1.4 KiB
CMake
project( sieveeditor )
|
|
|
|
add_definitions( -DQT_NO_CAST_FROM_ASCII )
|
|
add_definitions( -DQT_NO_CAST_TO_ASCII )
|
|
|
|
include_directories(
|
|
${CMAKE_SOURCE_DIR}/libksieve/
|
|
${CMAKE_SOURCE_DIR}/pimcommon/
|
|
${CMAKE_SOURCE_DIR}/libksieve/ksieveui/
|
|
)
|
|
|
|
set( sieveeditor_kcfg_SRCS settings/sieveeditorglobalconfig.kcfgc )
|
|
|
|
kde4_add_kcfg_files(sieveeditor_kcfg_SRCS ${sieveeditor_kcfg_SRCS})
|
|
|
|
|
|
set(sieveeditor_SRCS
|
|
${sieveeditor_kcfg_SRCS}
|
|
main.cpp
|
|
sieveeditormainwindow.cpp
|
|
serversievesettingsdialog.cpp
|
|
serversievesettings.cpp
|
|
sieveeditormainwidget.cpp
|
|
sieveeditorscriptwidget.cpp
|
|
sieveeditorconfiguredialog.cpp
|
|
sieveeditorscriptmanagerwidget.cpp
|
|
sieveeditorutil.cpp
|
|
serversievelistwidget.cpp
|
|
sieveeditorconfigureserverwidget.cpp
|
|
sieveeditormanagesievewidget.cpp
|
|
sieveeditorpagewidget.cpp
|
|
sieveserversettings.cpp
|
|
sieveeditortabwidget.cpp
|
|
sieveeditorcentralwidget.cpp
|
|
sieveeditorconfigureserverpage.cpp
|
|
)
|
|
|
|
add_executable(sieveeditor ${sieveeditor_SRCS} )
|
|
TARGET_LINK_LIBRARIES(sieveeditor
|
|
${KDE4_KDEUI_LIBS}
|
|
${KDE4_KNEWSTUFF3_LIBS}
|
|
${KDE4_SOLID_LIBS}
|
|
pimcommon
|
|
ksieveui
|
|
kmanagesieve
|
|
)
|
|
|
|
install(TARGETS sieveeditor ${INSTALL_TARGETS_DEFAULT_ARGS})
|
|
|
|
install(FILES
|
|
sieveeditorui.rc
|
|
DESTINATION ${DATA_INSTALL_DIR}/sieveeditor)
|
|
|
|
install(PROGRAMS sieveeditor.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
|