reactos/modules/rostests/winetests/advpack/CMakeLists.txt
Victor Perevertkin 74ec94e12c [CMAKE] Some options are only supported by GCC, don't use them for clang
These are (so far):
-Wno-format-overflow
-Wno-nonnull-compare
-Wno-old-style-declaration
-Wno-unused-but-set-variable
2021-04-09 03:58:19 +03:00

19 lines
472 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(CMAKE_C_COMPILER_ID STREQUAL "GNU")
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)