mirror of
https://github.com/reactos/reactos.git
synced 2024-11-04 13:52:30 +00:00
178300c8a6
* Fix PCH use in shell32. svn path=/branches/shell32_new-bringup/; revision=53319
30 lines
750 B
CMake
30 lines
750 B
CMake
|
|
include_directories(
|
|
include
|
|
${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/src
|
|
${REACTOS_SOURCE_DIR}/lib/3rdparty/adns/adns_win32)
|
|
|
|
add_definitions(-DADNS_JGAA_WIN32)
|
|
|
|
spec2def(dnsapi.dll dnsapi.spec)
|
|
|
|
list(APPEND SOURCE
|
|
dnsapi/adns.c
|
|
dnsapi/context.c
|
|
dnsapi/memory.c
|
|
dnsapi/names.c
|
|
dnsapi/query.c
|
|
dnsapi/record.c
|
|
dnsapi/stubs.c
|
|
dnsapi.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/dnsapi.def)
|
|
|
|
add_library(dnsapi SHARED ${SOURCE})
|
|
|
|
set_entrypoint(dnsapi 0)
|
|
target_link_libraries(dnsapi adns)
|
|
add_importlibs(dnsapi user32 ws2_32 iphlpapi msvcrt kernel32 ntdll)
|
|
add_pch(dnsapi dnsapi/precomp.h)
|
|
add_dependencies(dnsapi psdk)
|
|
add_cd_file(TARGET dnsapi DESTINATION reactos/system32 FOR all)
|
|
add_importlib_target(dnsapi.spec)
|