mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 21:04:26 +00:00
![David Quintana](/assets/img/avatar_default.png)
CORE-8176 #resolve #comment Trunk commit r63174 should fix this issue. I merged from trunk to bring it into Shell-experiments. svn path=/branches/shell-experiments/; revision=63175
32 lines
858 B
CMake
32 lines
858 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
generate_idl_iids(qmgr_local.idl)
|
|
spec2def(qmgr.dll qmgr.spec)
|
|
|
|
list(APPEND SOURCE
|
|
enum_files.c
|
|
enum_jobs.c
|
|
factory.c
|
|
file.c
|
|
job.c
|
|
qmgr.c
|
|
qmgr_main.c
|
|
service.c
|
|
qmgr.h
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgr_local_i.c)
|
|
|
|
add_library(qmgr SHARED
|
|
${SOURCE}
|
|
rsrc.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/qmgr.def)
|
|
|
|
set_source_files_properties(rsrc.rc PROPERTIES OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/qmgr.rgs)
|
|
add_idl_headers(qmgr_idlheader qmgr_local.idl)
|
|
set_module_type(qmgr win32dll)
|
|
target_link_libraries(qmgr uuid wine)
|
|
add_importlibs(qmgr ole32 wininet urlmon advapi32 msvcrt kernel32 ntdll)
|
|
add_pch(qmgr qmgr.h SOURCE)
|
|
add_cd_file(TARGET qmgr DESTINATION reactos/system32 FOR all)
|
|
add_dependencies(qmgr qmgr_idlheader)
|