2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
7 generate_idl_iids(qmgr_local.idl)
9 spec2def(qmgr.dll qmgr.spec)
21 ${CMAKE_CURRENT_BINARY_DIR}/qmgr_local_i.c
22 ${CMAKE_CURRENT_BINARY_DIR}/qmgr.def)
24 add_library(qmgr SHARED ${SOURCE})
26 add_idl_headers(qmgr_idlheader qmgr_local.idl)
28 set_module_type(qmgr win32dll)
29 target_link_libraries(qmgr uuid wine)
30 add_importlibs(qmgr ole32 wininet urlmon advapi32 msvcrt kernel32 ntdll)
31 add_cd_file(TARGET qmgr DESTINATION reactos/system32 FOR all)
32 add_dependencies(qmgr qmgr_idlheader)