1
2list(APPEND SOURCE
3    advpack.c
4    files.c
5    install.c
6    testlist.c)
7
8add_executable(advpack_winetest ${SOURCE})
9
10target_compile_definitions(advpack_winetest PRIVATE USE_WINE_TODOS)
11
12if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
13    target_compile_options(advpack_winetest PRIVATE -Wno-format-overflow)
14endif()
15
16set_module_type(advpack_winetest win32cui)
17add_importlibs(advpack_winetest advpack cabinet advapi32 msvcrt kernel32)
18add_rostests_file(TARGET advpack_winetest)
19