[CMAKE]
[reactos.git] / dll / win32 / mswsock / CMakeLists.txt
1
2 set_unicode()
3
4 add_definitions(-DLE)
5 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
6
7 spec2def(mswsock.dll mswsock.spec)
8
9 list(APPEND SOURCE
10 extensions.c
11 stubs.c
12 mswsock.rc
13 ${CMAKE_CURRENT_BINARY_DIR}/mswsock.def)
14
15 add_library(mswsock SHARED ${SOURCE})
16
17 set_module_type(mswsock win32dll)
18 add_importlibs(mswsock ws2_32 msvcrt kernel32)
19 add_cd_file(TARGET mswsock DESTINATION reactos/system32 FOR all)
20 add_importlib_target(mswsock.spec)