1
2if(GCC AND GCC_VERSION VERSION_GREATER 7)
3    add_compile_flags("-Wno-format-overflow")
4endif()
5
6list(APPEND SOURCE
7    devinst.c
8    dialog.c
9    diskspace.c
10    install.c
11    misc.c
12    parser.c
13    query.c
14    setupcab.c
15    stringtable.c
16    testlist.c)
17
18add_executable(setupapi_winetest ${SOURCE} setupapi.rc)
19set_module_type(setupapi_winetest win32cui)
20target_link_libraries(setupapi_winetest uuid)
21add_importlibs(setupapi_winetest advapi32 setupapi user32 shell32 msvcrt kernel32 ntdll)
22add_rostests_file(TARGET setupapi_winetest)
23