mirror of
https://github.com/reactos/reactos.git
synced 2024-11-07 15:10:53 +00:00
282312fef2
- Disable those unhelpful format string warnings - Remove some unnecessary defines svn path=/trunk/; revision=53945
14 lines
442 B
CMake
14 lines
442 B
CMake
|
|
add_definitions(
|
|
-D__ROS_LONG64__)
|
|
|
|
add_executable(ws2_32_winetest protocol.c sock.c testlist.c)
|
|
target_link_libraries(ws2_32_winetest wine)
|
|
set_module_type(ws2_32_winetest win32cui)
|
|
add_importlibs(ws2_32_winetest ws2_32 user32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET ws2_32_winetest DESTINATION reactos/bin FOR all)
|
|
|
|
if(NOT MSVC)
|
|
add_target_compile_flags(ws2_32_winetest "-Wno-format")
|
|
allow_warnings(ws2_32_winetest)
|
|
endif()
|