4 ${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/src
5 ${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/adns_win32)
7 add_definitions(-D_DLL -D__USE_CRTIMP)
8 add_definitions(-DADNS_JGAA_WIN32)
10 spec2def(dnsapi.dll dnsapi.spec)
21 ${CMAKE_CURRENT_BINARY_DIR}/dnsapi.def)
23 add_library(dnsapi SHARED
24 ${CMAKE_CURRENT_BINARY_DIR}/dnsapi_precomp.h.gch
27 set_entrypoint(dnsapi 0)
29 target_link_libraries(dnsapi adns)
31 add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
32 add_pch(dnsapi ${CMAKE_CURRENT_SOURCE_DIR}/dnsapi/precomp.h ${SOURCE})
33 add_dependencies(dnsapi psdk buildno_header)
34 add_cab_target(dnsapi 1)