reactos/modules/rostests/winetests/fusion/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

20 lines
464 B
CMake

list(APPEND SOURCE
asmcache.c
asmenum.c
asmname.c
fusion.c
testlist.c)
add_executable(fusion_winetest ${SOURCE})
target_compile_definitions(fusion_winetest PRIVATE USE_WINE_TODOS)
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
target_compile_options(fusion_winetest PRIVATE -Wno-format-overflow)
endif()
set_module_type(fusion_winetest win32cui)
add_importlibs(fusion_winetest user32 msvcrt kernel32)
add_rostests_file(TARGET fusion_winetest)