reactos/rostests/winetests/ws2_32/CMakeLists.txt
Thomas Faber 282312fef2 [WINETESTS/CMAKE]
- Disable those unhelpful format string warnings
- Remove some unnecessary defines

svn path=/trunk/; revision=53945
2011-10-02 22:16:18 +00:00

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()