1 2add_definitions(-D__WINESRC__) 3include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 4spec2def(inetmib1.dll inetmib1.spec) 5 6list(APPEND SOURCE 7 main.c 8 ${CMAKE_CURRENT_BINARY_DIR}/inetmib1_stubs.c 9 ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def) 10 11add_library(inetmib1 MODULE ${SOURCE}) 12set_module_type(inetmib1 win32dll) 13target_link_libraries(inetmib1 wine) 14add_delay_importlibs(inetmib1 iphlpapi) 15add_importlibs(inetmib1 snmpapi msvcrt kernel32 ntdll) 16add_cd_file(TARGET inetmib1 DESTINATION reactos/system32 FOR all) 17