[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 ${CMAKE_CURRENT_SOURCE_DIR}/mswsock.spec ${CMAKE_CURRENT_BINARY_DIR}/mswsock.def)
8
9 add_library(mswsock SHARED
10 extensions.c
11 stubs.c
12 mswsock.rc)
13
14 set_module_type(mswsock win32dll)
15
16 target_link_libraries(mswsock ${CMAKE_CURRENT_BINARY_DIR}/mswsock.def)
17
18 add_importlibs(mswsock ws2_32 kernel32)
19 add_dependencies(mswsock mswsock_def)
20 add_cab_target(mswsock 1)