reactos/modules/rostests/winetests/advpack/CMakeLists.txt
Jérôme Gardou 00ed72d7e8 [CMAKE] Get rid of add_compile_flags
Use add_compile_options and the like instead
2020-10-20 21:44:54 +02:00

19 lines
447 B
CMake

list(APPEND SOURCE
advpack.c
files.c
install.c
testlist.c)
add_executable(advpack_winetest ${SOURCE})
target_compile_definitions(advpack_winetest PRIVATE USE_WINE_TODOS)
if (NOT MSVC)
target_compile_options(advpack_winetest PRIVATE -Wno-format-overflow)
endif()
set_module_type(advpack_winetest win32cui)
add_importlibs(advpack_winetest advpack cabinet advapi32 msvcrt kernel32)
add_rostests_file(TARGET advpack_winetest)