mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:33:10 +00:00
[CMAKE]
- Add msi, qmgr and qmgrprxy to build. svn path=/branches/cmake-bringup/; revision=50125
This commit is contained in:
parent
6d973bdc1c
commit
265a973995
4 changed files with 136 additions and 74 deletions
|
@ -137,8 +137,8 @@ add_subdirectory(powrprof)
|
||||||
add_subdirectory(printui)
|
add_subdirectory(printui)
|
||||||
add_subdirectory(psapi)
|
add_subdirectory(psapi)
|
||||||
add_subdirectory(pstorec)
|
add_subdirectory(pstorec)
|
||||||
#add_subdirectory(qmgr)
|
add_subdirectory(qmgr)
|
||||||
#add_subdirectory(qmgrprxy)
|
add_subdirectory(qmgrprxy)
|
||||||
add_subdirectory(query)
|
add_subdirectory(query)
|
||||||
add_subdirectory(rasadhlp)
|
add_subdirectory(rasadhlp)
|
||||||
add_subdirectory(rasapi32)
|
add_subdirectory(rasapi32)
|
||||||
|
|
|
@ -1,84 +1,92 @@
|
||||||
|
|
||||||
spec2def(msi.dll msi.spec)
|
|
||||||
|
|
||||||
if (0)
|
|
||||||
|
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||||
add_definitions(-D__WINESRC__)
|
add_definitions(-D__WINESRC__)
|
||||||
|
|
||||||
add_library(msi SHARED
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
||||||
|
add_definitions(-D_WIN32_WINNT=0x600)
|
||||||
|
|
||||||
|
spec2def(msi.dll msi.spec)
|
||||||
|
|
||||||
|
add_idl_interface(msiserver.idl)
|
||||||
|
|
||||||
|
list(APPEND SOURCE
|
||||||
action.c
|
action.c
|
||||||
alter.c
|
alter.c
|
||||||
appsearch.c
|
appsearch.c
|
||||||
automation.c
|
automation.c
|
||||||
classes.c
|
classes.c
|
||||||
cond.tab.c
|
cond.tab.c
|
||||||
create.c</file>
|
create.c
|
||||||
custom.c</file>
|
custom.c
|
||||||
database.c</file>
|
database.c
|
||||||
delete.c</file>
|
delete.c
|
||||||
dialog.c</file>
|
dialog.c
|
||||||
distinct.c</file>
|
distinct.c
|
||||||
drop.c</file>
|
drop.c
|
||||||
events.c</file>
|
events.c
|
||||||
files.c</file>
|
files.c
|
||||||
font.c</file>
|
font.c
|
||||||
format.c</file>
|
format.c
|
||||||
handle.c</file>
|
handle.c
|
||||||
helpers.c</file>
|
helpers.c
|
||||||
insert.c</file>
|
insert.c
|
||||||
install.c</file>
|
install.c
|
||||||
join.c</file>
|
join.c
|
||||||
media.c</file>
|
media.c
|
||||||
msi.c</file>
|
msi.c
|
||||||
msi_main.c</file>
|
msi_main.c
|
||||||
msiquery.c</file>
|
msiquery.c
|
||||||
package.c</file>
|
package.c
|
||||||
preview.c</file>
|
preview.c
|
||||||
record.c</file>
|
record.c
|
||||||
registry.c</file>
|
registry.c
|
||||||
regsvr.c</file>
|
regsvr.c
|
||||||
script.c</file>
|
script.c
|
||||||
select.c</file>
|
select.c
|
||||||
source.c</file>
|
source.c
|
||||||
sql.tab.c</file>
|
sql.tab.c
|
||||||
storages.c</file>
|
storages.c
|
||||||
streams.c</file>
|
streams.c
|
||||||
string.c</file>
|
string.c
|
||||||
suminfo.c</file>
|
suminfo.c
|
||||||
table.c</file>
|
table.c
|
||||||
tokenize.c</file>
|
tokenize.c
|
||||||
update.c</file>
|
update.c
|
||||||
upgrade.c</file>
|
upgrade.c
|
||||||
where.c</file>
|
where.c
|
||||||
msi.rc</file>
|
msi.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/msiserver_i.c
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/msi.def)
|
${CMAKE_CURRENT_BINARY_DIR}/msi.def)
|
||||||
|
|
||||||
|
add_library(msi SHARED ${SOURCE})
|
||||||
|
|
||||||
|
add_interface_definitions(msi_idlheader msiserver.idl)
|
||||||
|
|
||||||
|
add_typelib(msi_tlb msiserver.idl)
|
||||||
|
|
||||||
set_module_type(msi win32dll)
|
set_module_type(msi win32dll)
|
||||||
|
|
||||||
target_link_libraries(msi wine uuid PSEH_LIB)
|
target_link_libraries(msi uuid ${PSEH_LIB} wine)
|
||||||
|
|
||||||
|
add_dependencies(msi msi_idlheader msi_tlb)
|
||||||
|
|
||||||
add_importlibs(msi
|
add_importlibs(msi
|
||||||
kernel32
|
advapi32
|
||||||
urlmon
|
cabinet
|
||||||
wininet
|
|
||||||
comctl32
|
comctl32
|
||||||
|
gdi32
|
||||||
|
odbccp32
|
||||||
|
ole32
|
||||||
|
oleaut32
|
||||||
shell32
|
shell32
|
||||||
shlwapi
|
shlwapi
|
||||||
cabinet
|
urlmon
|
||||||
oleaut32
|
|
||||||
ole32
|
|
||||||
version
|
|
||||||
user32
|
user32
|
||||||
gdi32
|
version
|
||||||
advapi32
|
wininet
|
||||||
odbccp32
|
msvcrt
|
||||||
|
kernel32
|
||||||
ntdll)
|
ntdll)
|
||||||
|
|
||||||
# <library>msiserver_interface</library>
|
|
||||||
# <dependency>msiserver</dependency>
|
|
||||||
# <dependency>msiheader</dependency>
|
|
||||||
|
|
||||||
add_cab_target(msi 1)
|
add_cab_target(msi 1)
|
||||||
endif()
|
|
||||||
add_importlib_target(msi.spec)
|
add_importlib_target(msi.spec)
|
||||||
|
|
30
dll/win32/qmgr/CMakeLists.txt
Normal file
30
dll/win32/qmgr/CMakeLists.txt
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
|
||||||
|
add_definitions(-D__WINESRC__)
|
||||||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||||
|
|
||||||
|
add_idl_interface(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_interface_definitions(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)
|
24
dll/win32/qmgrprxy/CMakeLists.txt
Normal file
24
dll/win32/qmgrprxy/CMakeLists.txt
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
|
||||||
|
add_definitions(
|
||||||
|
-D__WINESRC__
|
||||||
|
-DREGISTER_PROXY_DLL)
|
||||||
|
|
||||||
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
||||||
|
|
||||||
|
add_idl_interface(qmgrprxy.idl)
|
||||||
|
|
||||||
|
spec2def(qmgrprxy.dll qmgrprxy.spec)
|
||||||
|
|
||||||
|
list(APPEND SOURCE
|
||||||
|
version.rc
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy_i.c
|
||||||
|
${CMAKE_CURRENT_BINARY_DIR}/qmgrprxy.def)
|
||||||
|
|
||||||
|
add_library(qmgrprxy SHARED ${SOURCE})
|
||||||
|
|
||||||
|
rpcproxy(qmgrprxy qmgrprxy.idl)
|
||||||
|
|
||||||
|
set_module_type(qmgrprxy win32dll)
|
||||||
|
target_link_libraries(qmgrprxy qmgrprxy_proxy ${PSEH_LIB} wine)
|
||||||
|
add_importlibs(qmgrprxy rpcrt4 msvcrt kernel32 ntdll)
|
||||||
|
add_cab_target(qmgrprxy 1)
|
Loading…
Add table
Add a link
Reference in a new issue