reactos/dll/win32/qmgr/CMakeLists.txt
Timo Kreuzer 0d54e35b94 [CMAKE]
Refactor IDL compilation:
- Move all macros to idl-support.cmake
- Make rpc proxy a static library, instead of fiddeling with SOURCE variable
- Merge client and server rpc libraries into one library
- Reorder global makelist file a little
- Improve configure script
- Improve naming, use add_* when a target is added, generate_* when only a file is generated
- Don't compile wbemcli.idl on MSVC (temp hack)
- Don't compile rossym on MSVC, we don't use it
- Use ml64 as assembler when compiling for amd64
- fix spec2def invocation

svn path=/branches/cmake-bringup/; revision=50478
2011-01-24 18:13:40 +00:00

30 lines
679 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
rsrc.rc
${CMAKE_CURRENT_BINARY_DIR}/qmgr_local_i.c
${CMAKE_CURRENT_BINARY_DIR}/qmgr.def)
add_library(qmgr SHARED ${SOURCE})
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_cab_target(qmgr 1)
add_dependencies(qmgr qmgr_idlheader)