[CMAKE]
[reactos.git] / dll / win32 / wshtcpip / CMakeLists.txt
1
2 add_definitions(-DUNICODE -D_UNICODE)
3 include_directories(${REACTOS_SOURCE_DIR}/lib/tdilib)
4
5 spec2def(wshtcpip ${CMAKE_CURRENT_SOURCE_DIR}/wshtcpip.spec ${CMAKE_CURRENT_BINARY_DIR}/wshtcpip.def)
6
7 add_library(wshtcpip SHARED wshtcpip.c wshtcpip.rc)
8
9 set_target_properties(wshtcpip PROPERTIES LINK_FLAGS "-Wl,-entry,0")
10
11 target_link_libraries(wshtcpip
12 ${CMAKE_CURRENT_BINARY_DIR}/wshtcpip.def
13 tdilib)
14
15 add_importlibs(wshtcpip kernel32 ntdll ws2_32)
16 add_dependencies(wshtcpip wshtcpip_def psdk)