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