reactos/rostests/winetests/ws2_32/CMakeLists.txt

15 lines
442 B
CMake
Raw Normal View History

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