[CMAKE]
[reactos.git] / lib / 3rdparty / adns / CMakeLists.txt
index ac5fb77..128de03 100644 (file)
@@ -1,9 +1,22 @@
+
 include_directories(src)
 include_directories(adns_win32)
 
+add_definitions(-D_DLL -D__USE_CRTIMP)
 add_definitions(-DADNS_JGAA_WIN32)
 
-file(GLOB_RECURSE SOURCE "/src/*.c" "./adns_win32/*.c")
+list(APPEND SOURCE
+    adns_win32/adns_unix_calls.c
+    src/check.c
+    src/event.c
+    src/general.c
+    src/parse.c
+    src/poll.c
+    src/query.c
+    src/reply.c
+    src/setup.c
+    src/transmit.c
+    src/types.c)
 
 add_library(adns ${SOURCE})
 add_dependencies(adns psdk)
\ No newline at end of file