mirror of
https://github.com/reactos/reactos.git
synced 2024-09-21 18:17:19 +00:00
18 lines
457 B
CMake
18 lines
457 B
CMake
|
|
||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/winsock)
|
||
|
|
||
|
spec2def(ws2help ${CMAKE_CURRENT_SOURCE_DIR}/ws2help.spec ${CMAKE_CURRENT_BINARY_DIR}/ws2help.def)
|
||
|
|
||
|
add_library(ws2help SHARED
|
||
|
apc.c
|
||
|
context.c
|
||
|
dllmain.c
|
||
|
handle.c
|
||
|
notify.c)
|
||
|
|
||
|
set_module_type(ws2help win32dll)
|
||
|
|
||
|
target_link_libraries(ws2help ${CMAKE_CURRENT_BINARY_DIR}/ws2help.def)
|
||
|
add_importlibs(ws2help advapi32 ntdll ws2_32)
|
||
|
add_dependencies(ws2help ws2help_def psdk)
|