reactos/dll/win32/inetmib1/CMakeLists.txt
Sylvain Petreolle 89271fe38d [CMAKE]
Add each win32dll module to livecd and remove global temporary add-on from gcc.cmake.
Fix pch use in fmifs.
Enable remaining dlls in dll/win32/CMakeLists.txt.

svn path=/branches/cmake-bringup/; revision=49230
2010-10-22 19:40:56 +00:00

24 lines
569 B
CMake

add_definitions(-D__WINESRC__)
add_definitions(-D_DLL -D__USE_CRTIMP)
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
spec2def(inetmib1 ${CMAKE_CURRENT_SOURCE_DIR}/inetmib1.spec ${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def)
add_library(inetmib1 SHARED main.c)
set_module_type(inetmib1 win32dll)
target_link_libraries(inetmib1
${CMAKE_CURRENT_BINARY_DIR}/inetmib1.def
wine)
add_importlibs(inetmib1
msvcrt
snmpapi
iphlpapi
kernel32
ntdll)
add_dependencies(inetmib1 inetmib1_def)
add_livecd_target(inetmib1 reactos/system32)