1 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
2 # Tests don't need to go into toplevel/bin, they are fine in the current dir.
4 ${CMAKE_CURRENT_SOURCE_DIR}/..
7 set(kwalletwizardtest_SRCS
11 kde4_add_ui_files(kwalletwizardtest_SRCS
12 ../kbetterthankdialogbase.ui
13 ../kwalletwizardpageexplanation.ui
14 ../kwalletwizardpageintro.ui
15 ../kwalletwizardpageoptions.ui
16 ../kwalletwizardpagepassword.ui
19 kde4_add_executable(kwalletwizardtest TEST ${kwalletwizardtest_SRCS})
20 target_link_libraries(kwalletwizardtest ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTGUI_LIBRARY})
21 set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} )
23 include_directories( ${KDE4_KDEUI_INCLUDES} ) # for kwallet.h
25 ########### next target ###############
27 set(kwalletasync_SRCS kwalletasync.cpp kwallettest.cpp )
30 kde4_add_executable(kwalletasync TEST ${kwalletasync_SRCS})
32 target_link_libraries(kwalletasync ${KDE4_KDEUI_LIBS} )
35 ########### next target ###############
37 set(kwalletsync_SRCS kwalletsync.cpp )
40 kde4_add_executable(kwalletsync TEST ${kwalletsync_SRCS})
42 target_link_libraries(kwalletsync ${KDE4_KDEUI_LIBS} )
45 ########### next target ###############
47 set(kwalletpath_SRCS kwalletpath.cpp )
50 kde4_add_executable(kwalletpath TEST ${kwalletpath_SRCS})
52 target_link_libraries(kwalletpath ${KDE4_KDEUI_LIBS} )
55 ########### next target ###############
57 set(kwalletboth_SRCS kwalletboth.cpp kwallettest.cpp )
60 kde4_add_executable(kwalletboth TEST ${kwalletboth_SRCS})
62 target_link_libraries(kwalletboth ${KDE4_KDEUI_LIBS} )
65 ########### next target ###############
67 set(kwalletmany_SRCS kwalletmany.cpp)
70 kde4_add_executable(kwalletmany TEST ${kwalletmany_SRCS})
72 target_link_libraries(kwalletmany ${KDE4_KDEUI_LIBS} )
75 ########### next target ###############
77 set(kwalletautoclose_SRCS kwalletautoclose.cpp)
80 kde4_add_executable(kwalletautoclose TEST ${kwalletautoclose_SRCS})
82 target_link_libraries(kwalletautoclose ${KDE4_KDEUI_LIBS} )
85 ########### next target ###############
87 set(kwalletnoautoclose_SRCS kwalletnoautoclose.cpp)
90 kde4_add_executable(kwalletnoautoclose TEST ${kwalletnoautoclose_SRCS})
92 target_link_libraries(kwalletnoautoclose ${KDE4_KDEUI_LIBS} )
95 ########### install files ###############