mirror of
https://github.com/reactos/reactos.git
synced 2024-08-19 18:02:55 +00:00
21 lines
429 B
CMake
21 lines
429 B
CMake
|
|
set_unicode()
|
|
|
|
add_definitions(-DLE)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(mswsock.dll mswsock.spec)
|
|
|
|
list(APPEND SOURCE
|
|
extensions.c
|
|
stubs.c
|
|
mswsock.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/mswsock.def)
|
|
|
|
add_library(mswsock SHARED ${SOURCE})
|
|
|
|
set_module_type(mswsock win32dll)
|
|
add_importlibs(mswsock ws2_32 msvcrt kernel32)
|
|
add_cab_target(mswsock 1)
|
|
add_importlib_target(mswsock.spec)
|