mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 12:54:51 +00:00
23 lines
494 B
CMake
23 lines
494 B
CMake
|
|
|
|
add_definitions(-DLE)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
spec2def(mswsock.dll mswsock.spec ADD_IMPORTLIB)
|
|
|
|
list(APPEND SOURCE
|
|
extensions.c
|
|
stubs.c
|
|
precomp.h)
|
|
|
|
add_library(mswsock SHARED
|
|
${SOURCE}
|
|
mswsock.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/mswsock.def)
|
|
|
|
set_module_type(mswsock win32dll UNICODE)
|
|
add_importlibs(mswsock ws2_32 msvcrt kernel32)
|
|
add_pch(mswsock precomp.h SOURCE)
|
|
add_cd_file(TARGET mswsock DESTINATION reactos/system32 FOR all)
|
|
|