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

20 lines
484 B
CMake

list(APPEND SOURCE
info.c
install.c
testlist.c)
add_executable(version_winetest ${SOURCE} version.rc)
set_module_type(version_winetest win32cui)
add_importlibs(version_winetest shell32 version msvcrt kernel32)
target_compile_definitions(version_winetest PRIVATE USE_WINE_TODOS)
if (NOT MSVC)
target_compile_options(version_winetest PRIVATE -Wno-format-overflow)
else()
add_importlibs(version_winetest ntdll)
endif()
add_rostests_file(TARGET version_winetest)