1db6c3f1ef034cbb6745156f073d488af1ca6467
[reactos.git] / dll / win32 / qmgr / CMakeLists.txt
1
2 add_definitions(-D__WINESRC__)
3 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
4
5 add_idl_interface(qmgr_local.idl)
6
7 spec2def(qmgr.dll qmgr.spec)
8
9 list(APPEND SOURCE
10 enum_files.c
11 enum_jobs.c
12 factory.c
13 file.c
14 job.c
15 qmgr.c
16 qmgr_main.c
17 service.c
18 rsrc.rc
19 ${CMAKE_CURRENT_BINARY_DIR}/qmgr_local_i.c
20 ${CMAKE_CURRENT_BINARY_DIR}/qmgr.def)
21
22 add_library(qmgr SHARED ${SOURCE})
23
24 add_interface_definitions(qmgr_idlheader qmgr_local.idl)
25
26 set_module_type(qmgr win32dll)
27 target_link_libraries(qmgr uuid wine)
28 add_importlibs(qmgr ole32 wininet urlmon advapi32 msvcrt kernel32 ntdll)
29 add_cab_target(qmgr 1)
30 add_dependencies(qmgr qmgr_idlheader)