CMakeLists.txt 2.36 KB
Newer Older
Laurent Montel's avatar
Laurent Montel committed
1 2
add_definitions( -DMAIL_DATA_DIR="${CMAKE_CURRENT_SOURCE_DIR}/data" )

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
set(scrolladdattachment_test_SRCS
    testwebenginescrolladdattachment.cpp
    )

add_executable(scrolladdattachmenttest ${scrolladdattachment_test_SRCS})

target_link_libraries(scrolladdattachmenttest
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
    )

####
set(testmailwebengine_test_SRCS
    testmailwebengine.cpp
    )

add_executable(testmailwebengine ${testmailwebengine_test_SRCS})

target_link_libraries(testmailwebengine
21
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer Qt5::PrintSupport KF5::I18n
22
)
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44

#####
#set(testwebengineaccesskey_test_SRCS
#    testwebengineaccesskey.cpp
#    )

#add_executable(testwebengineaccesskey ${testwebengineaccesskey_test_SRCS})

#target_link_libraries(testwebengineaccesskey
#    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::MessageViewer
#    )

####
set(testmailwebengineselection_test_SRCS
    testmailwebengineselection.cpp
    )

add_executable(testmailwebengineselection ${testmailwebengineselection_test_SRCS})

target_link_libraries(testmailwebengineselection
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
    )
Laurent Montel's avatar
Laurent Montel committed
45 46 47 48 49 50 51 52 53 54
######

set(testmaildndattachment_test_SRCS
    testmaildndattachment.cpp
    )
add_executable(testmaildndattachment ${testmaildndattachment_test_SRCS})

target_link_libraries(testmaildndattachment
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
    )
55 56 57 58 59 60 61 62 63 64 65

#####
set(testjquerysupportmailwebengine_test_SRCS
    testjquerysupportmailwebengine.cpp
    )
add_executable(testjquerysupportmailwebengine ${testjquerysupportmailwebengine_test_SRCS})

target_link_libraries(testjquerysupportmailwebengine
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
    )

Laurent Montel's avatar
Laurent Montel committed
66 67 68 69 70 71
#####

set(testmailmboxwebengine_test_SRCS
    testmailmboxwebengine.cpp
    )
add_executable(testmailmboxwebengine ${testmailmboxwebengine_test_SRCS})
72

Laurent Montel's avatar
Laurent Montel committed
73 74 75
target_link_libraries(testmailmboxwebengine
    Qt5::Widgets KF5::WebEngineViewer Qt5::WebEngine Qt5::WebEngineWidgets KF5::XmlGui KF5::IconThemes KF5::MessageViewer
    )