mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
a8f4759920
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org> wine commit id 76e448bd7dc147443191b9f652f2f274f44e9fbe by Zhiyi Zhang <zzhang@codeweavers.com>
17 lines
566 B
CMake
17 lines
566 B
CMake
|
|
add_definitions(-D__WINESRC__)
|
|
remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS)
|
|
include_directories(${REACTOS_SOURCE_DIR}/sdk/include/wine)
|
|
|
|
list(APPEND SOURCE
|
|
msiexec.c
|
|
service.c
|
|
precomp.h)
|
|
|
|
add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/msiexec.ico)
|
|
add_executable(msiexec ${SOURCE} rsrc.rc)
|
|
set_module_type(msiexec win32gui)
|
|
target_link_libraries(msiexec uuid wine)
|
|
add_importlibs(msiexec user32 advapi32 ole32 comctl32 msi msvcrt kernel32 ntdll)
|
|
add_pch(msiexec precomp.h SOURCE)
|
|
add_cd_file(TARGET msiexec DESTINATION reactos/system32 FOR all)
|