Make unit tests compile
This commit is contained in:
parent
1b4b13c863
commit
72a01436cc
1 changed files with 13 additions and 11 deletions
|
@ -9,7 +9,7 @@ set( testUpdateKWin49_SRCS test_update_kwin_49.cpp ../data/update_kwin_49.cpp ..
|
||||||
set( testScreenPaintData_SRCS test_screen_paint_data.cpp )
|
set( testScreenPaintData_SRCS test_screen_paint_data.cpp )
|
||||||
kde4_add_unit_test( testScreenPaintData TESTNAME kwin-TestScreenPaintData ${testScreenPaintData_SRCS} )
|
kde4_add_unit_test( testScreenPaintData TESTNAME kwin-TestScreenPaintData ${testScreenPaintData_SRCS} )
|
||||||
|
|
||||||
target_link_libraries( testScreenPaintData kwineffects ${QT_QTCORE_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
target_link_libraries( testScreenPaintData kwineffects ${Qt5Test_LIBRARIES} )
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# Test WindowPaintData
|
# Test WindowPaintData
|
||||||
|
@ -17,7 +17,7 @@ target_link_libraries( testScreenPaintData kwineffects ${QT_QTCORE_LIBRARY} ${QT
|
||||||
set( testWindowPaintData_SRCS test_window_paint_data.cpp )
|
set( testWindowPaintData_SRCS test_window_paint_data.cpp )
|
||||||
kde4_add_unit_test( testWindowPaintData TESTNAME kwin-TestWindowPaintData ${testWindowPaintData_SRCS} )
|
kde4_add_unit_test( testWindowPaintData TESTNAME kwin-TestWindowPaintData ${testWindowPaintData_SRCS} )
|
||||||
|
|
||||||
target_link_libraries( testWindowPaintData kwineffects ${QT_QTCORE_LIBRARY} ${QT_QTGUI_LIBRARY} ${QT_QTTEST_LIBRARY} )
|
target_link_libraries( testWindowPaintData kwineffects ${Qt5Widgets_LIBRARIES} ${Qt5Test_LIBRARIES} )
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# Test VirtualDesktopManager
|
# Test VirtualDesktopManager
|
||||||
|
@ -49,9 +49,11 @@ set( testClientMachine_SRCS
|
||||||
kde4_add_unit_test( testClientMachine TESTNAME kwin-TestClientMachine ${testClientMachine_SRCS} )
|
kde4_add_unit_test( testClientMachine TESTNAME kwin-TestClientMachine ${testClientMachine_SRCS} )
|
||||||
|
|
||||||
target_link_libraries( testClientMachine
|
target_link_libraries( testClientMachine
|
||||||
${QT_QTTEST_LIBRARY}
|
${Qt5Test_LIBRARIES}
|
||||||
${QT_QTCORE_LIBRARY}
|
${Qt5X11Extras_LIBRARIES}
|
||||||
${KDE4_KDEUI_LIBS}
|
${Qt5Widgets_LIBRARIES}
|
||||||
|
${KDE4_KDECORE_LIBS} # kdebug
|
||||||
|
KF5::KWindowSystem
|
||||||
${XCB_XCB_LIBRARIES}
|
${XCB_XCB_LIBRARIES}
|
||||||
${XCB_XFIXES_LIBRARIES}
|
${XCB_XFIXES_LIBRARIES}
|
||||||
${X11_XCB_LIBRARIES}
|
${X11_XCB_LIBRARIES}
|
||||||
|
@ -68,9 +70,9 @@ set( testXcbWrapper_SRCS
|
||||||
kde4_add_unit_test( testXcbWrapper TESTNAME kwin-TestXcbWrapper ${testXcbWrapper_SRCS} )
|
kde4_add_unit_test( testXcbWrapper TESTNAME kwin-TestXcbWrapper ${testXcbWrapper_SRCS} )
|
||||||
|
|
||||||
target_link_libraries( testXcbWrapper
|
target_link_libraries( testXcbWrapper
|
||||||
${QT_QTTEST_LIBRARY}
|
${Qt5Test_LIBRARIES}
|
||||||
${QT_QTCORE_LIBRARY}
|
${Qt5X11Extras_LIBRARIES}
|
||||||
${QT_QTGUI_LIBRARY}
|
${Qt5Widgets_LIBRARIES}
|
||||||
${XCB_XCB_LIBRARIES}
|
${XCB_XCB_LIBRARIES}
|
||||||
${X11_XCB_LIBRARIES}
|
${X11_XCB_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
@ -84,9 +86,9 @@ set( testXcbWindow_SRCS
|
||||||
kde4_add_unit_test( testXcbWindow TESTNAME kwin-TestXcbWindow ${testXcbWindow_SRCS} )
|
kde4_add_unit_test( testXcbWindow TESTNAME kwin-TestXcbWindow ${testXcbWindow_SRCS} )
|
||||||
|
|
||||||
target_link_libraries( testXcbWindow
|
target_link_libraries( testXcbWindow
|
||||||
${QT_QTTEST_LIBRARY}
|
${Qt5Test_LIBRARIES}
|
||||||
${QT_QTCORE_LIBRARY}
|
${Qt5X11Extras_LIBRARIES}
|
||||||
${QT_QTGUI_LIBRARY}
|
${Qt5Widgets_LIBRARIES}
|
||||||
${XCB_XCB_LIBRARIES}
|
${XCB_XCB_LIBRARIES}
|
||||||
${X11_XCB_LIBRARIES}
|
${X11_XCB_LIBRARIES}
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue