mirror of
https://github.com/reactos/reactos.git
synced 2024-10-04 00:13:57 +00:00
00ed72d7e8
Use add_compile_options and the like instead
20 lines
439 B
CMake
20 lines
439 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 (NOT MSVC)
|
|
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)
|