2010-12-07 09:27:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
advpack.c
|
|
|
|
files.c
|
|
|
|
install.c
|
|
|
|
testlist.c)
|
|
|
|
|
|
|
|
add_executable(advpack_winetest ${SOURCE})
|
2020-09-21 10:16:02 +00:00
|
|
|
|
|
|
|
target_compile_definitions(advpack_winetest PRIVATE USE_WINE_TODOS)
|
|
|
|
|
2021-04-09 00:58:19 +00:00
|
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
2020-09-21 10:16:02 +00:00
|
|
|
target_compile_options(advpack_winetest PRIVATE -Wno-format-overflow)
|
|
|
|
endif()
|
|
|
|
|
2010-12-07 09:27:10 +00:00
|
|
|
set_module_type(advpack_winetest win32cui)
|
2014-04-30 11:59:11 +00:00
|
|
|
add_importlibs(advpack_winetest advpack cabinet advapi32 msvcrt kernel32)
|
2017-01-13 09:24:15 +00:00
|
|
|
add_rostests_file(TARGET advpack_winetest)
|