mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 15:18:33 +00:00
![Thomas Faber](/assets/img/avatar_default.png)
- Disable those unhelpful format string warnings - Remove some unnecessary defines svn path=/trunk/; revision=53945
15 lines
442 B
CMake
15 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()
|