* Sync up to trunk head (r60691).
[reactos.git] / dll / win32 / dnsapi / CMakeLists.txt
1
2 include_directories(
3 include
4 ${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/src
5 ${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/adns_win32)
6
7 add_definitions(-DADNS_JGAA_WIN32)
8
9 spec2def(dnsapi.dll dnsapi.spec ADD_IMPORTLIB)
10
11 list(APPEND SOURCE
12 dnsapi/adns.c
13 dnsapi/context.c
14 dnsapi/memory.c
15 dnsapi/names.c
16 dnsapi/query.c
17 dnsapi/record.c
18 dnsapi/stubs.c
19 dnsapi.rc
20 ${CMAKE_CURRENT_BINARY_DIR}/dnsapi.def)
21
22 add_library(dnsapi SHARED ${SOURCE})
23
24 set_module_type(dnsapi win32dll)
25 target_link_libraries(dnsapi adns)
26 add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
27 add_pch(dnsapi dnsapi/precomp.h)
28 add_dependencies(dnsapi psdk)
29 add_cd_file(TARGET dnsapi DESTINATION reactos/system32 FOR all)
30