mirror of
https://github.com/reactos/reactos.git
synced 2024-11-10 00:34:39 +00:00
89271fe38d
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
24 lines
569 B
CMake
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)
|