2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
4 generate_idl_iids(qmgr_local.idl)
5 spec2def(qmgr.dll qmgr.spec)
17 ${CMAKE_CURRENT_BINARY_DIR}/qmgr_local_i.c)
19 add_library(qmgr SHARED
22 ${CMAKE_CURRENT_BINARY_DIR}/qmgr.def)
24 set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/qmgr.rgs)
25 add_idl_headers(qmgr_idlheader qmgr_local.idl)
26 set_module_type(qmgr win32dll)
27 target_link_libraries(qmgr uuid wine)
28 add_importlibs(qmgr winhttp ole32 advapi32 msvcrt kernel32 ntdll)
29 add_pch(qmgr precomp.h SOURCE)
30 add_cd_file(TARGET qmgr DESTINATION reactos/system32 FOR all)
31 add_dependencies(qmgr qmgr_idlheader)