Fix crash if key bindings specified in profile cannot be found. Improve
[personal-kdebase.git] / apps / konqueror / src / tests / CMakeLists.txt
blobcf702a42f3e4ed5469ff4ab3639c747ac88f3249
1 if (NOT WIN32)
3 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
4 include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ${KDE4_INCLUDES} )
6 ########### centralwidget ###############
8 kde4_add_executable(centralwidget TEST centralwidget.cpp)
9 target_link_libraries(centralwidget konq ${KDE4_KDECORE_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}
10                       ${QT_QTTEST_LIBRARY})
12 ########### konqviewmgrtest ###############
14 kde4_add_unit_test(konqviewmgrtest TEST konqviewmgrtest.cpp)
15 target_link_libraries(konqviewmgrtest kdeinit_konqueror ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY}
16                       ${KDE4_KHTML_LIBS} ${QT_QTTEST_LIBRARY})
18 ########### historymanagertest ###############
20 kde4_add_unit_test(historymanagertest historymanagertest.cpp)
21 target_link_libraries(historymanagertest konquerorprivate ${KDE4_KDEUI_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY})
23 ########### undomanagertest ###############
25 kde4_add_unit_test(undomanagertest undomanagertest.cpp)
26 target_link_libraries(undomanagertest kdeinit_konqueror ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY})
28 ########### konqhtmltest ###############
30 kde4_add_unit_test(konqhtmltest konqhtmltest.cpp)
31 target_link_libraries(konqhtmltest kdeinit_konqueror ${KDE4_KHTML_LIBS} ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY})
33 ########### konqviewtest ###############
35 kde4_add_unit_test(konqviewtest konqviewtest.cpp)
36 target_link_libraries(konqviewtest kdeinit_konqueror ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY})
38 endif (NOT WIN32)