[CMAKE]
[reactos.git] / dll / win32 / inetmib1 / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 add_definitions(-D_DLL -D__USE_CRTIMP)
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
5
6 spec2def(inetmib1 ${CMAKE_CURRENT_SOURCE_DIR}/inetmib1.spec ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def)
7
8 add_library(inetmib1 SHARED main.c)
9
10 set_module_type(inetmib1 win32dll)
11
12 target_link_libraries(inetmib1
13 ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def
14 wine)
15
16 add_importlibs(inetmib1
17 msvcrt
18 snmpapi
19 iphlpapi
20 kernel32
21 ntdll)
22
23 add_dependencies(inetmib1 inetmib1_def)
24 add_cab_target(inetmib1 1)