1 2add_definitions(-D__WINESRC__) 3remove_definitions(-D_CRT_NON_CONFORMING_SWPRINTFS) 4include_directories(${REACTOS_SOURCE_DIR}/sdk/include/wine) 5 6list(APPEND SOURCE 7 msiexec.c 8 service.c 9 precomp.h) 10 11add_rc_deps(rsrc.rc ${CMAKE_CURRENT_SOURCE_DIR}/msiexec.ico) 12add_executable(msiexec ${SOURCE} rsrc.rc) 13set_module_type(msiexec win32gui) 14target_link_libraries(msiexec uuid wine) 15add_importlibs(msiexec user32 advapi32 ole32 comctl32 msi msvcrt kernel32 ntdll) 16add_pch(msiexec precomp.h SOURCE) 17add_cd_file(TARGET msiexec DESTINATION reactos/system32 FOR all) 18