[CMAKE]
[reactos.git] / dll / win32 / wshtcpip / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/lib/tdilib)
3
4 spec2def(wshtcpip ${CMAKE_CURRENT_SOURCE_DIR}/wshtcpip.spec ${CMAKE_CURRENT_BINARY_DIR}/wshtcpip.def)
5
6 add_library(wshtcpip SHARED wshtcpip.c wshtcpip.rc)
7
8 set_module_type(wshtcpip win32dll)
9
10 target_link_libraries(wshtcpip
11 ${CMAKE_CURRENT_BINARY_DIR}/wshtcpip.def
12 tdilib)
13
14 add_importlibs(wshtcpip ntdll ws2_32)
15 add_dependencies(wshtcpip wshtcpip_def psdk)