1
2add_definitions(-DUSE_WINE_TODOS)
3
4list(APPEND SOURCE
5    device.c
6    dinput.c
7    joystick.c
8    keyboard.c
9    mouse.c)
10
11list(APPEND PCH_SKIP_SOURCE
12    testlist.c)
13
14add_executable(dinput_winetest
15    ${SOURCE}
16    ${PCH_SKIP_SOURCE})
17
18target_link_libraries(dinput_winetest dinput_data_formats)
19set_module_type(dinput_winetest win32cui)
20add_importlibs(dinput_winetest dinput ole32 user32 msvcrt kernel32)
21add_pch(dinput_winetest precomp.h "${PCH_SKIP_SOURCE}")
22add_rostests_file(TARGET dinput_winetest)
23