2 add_definitions(-DUNICODE -D_UNICODE)
3 include_directories(${REACTOS_SOURCE_DIR}/lib/tdilib)
5 spec2def(wshtcpip ${CMAKE_CURRENT_SOURCE_DIR}/wshtcpip.spec ${CMAKE_CURRENT_BINARY_DIR}/wshtcpip.def)
7 add_library(wshtcpip SHARED wshtcpip.c wshtcpip.rc)
9 set_target_properties(wshtcpip PROPERTIES LINK_FLAGS "-Wl,-entry,0")
11 target_link_libraries(wshtcpip
12 ${CMAKE_CURRENT_BINARY_DIR}/wshtcpip.def
15 add_importlibs(wshtcpip kernel32 ntdll ws2_32)
16 add_dependencies(wshtcpip wshtcpip_def psdk)