2011-05-16 13:12:07 +00:00
|
|
|
|
2013-05-19 21:21:20 +00:00
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
2016-04-20 12:36:25 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(appwiz.cpl appwiz.spec)
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
list(APPEND SOURCE
|
2013-05-19 21:21:20 +00:00
|
|
|
addons.c
|
2011-05-16 13:12:07 +00:00
|
|
|
appwiz.c
|
|
|
|
createlink.c
|
2016-03-04 15:43:31 +00:00
|
|
|
removestartmenuitems.c
|
2014-02-09 12:26:28 +00:00
|
|
|
appwiz.h)
|
|
|
|
|
2015-09-27 18:30:39 +00:00
|
|
|
file(GLOB appwiz_rc_deps resources/*.*)
|
|
|
|
add_rc_deps(appwiz.rc ${appwiz_rc_deps})
|
|
|
|
|
2014-02-09 12:26:28 +00:00
|
|
|
add_library(appwiz SHARED
|
|
|
|
${SOURCE}
|
2011-05-16 13:12:07 +00:00
|
|
|
appwiz.rc
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/appwiz.def)
|
|
|
|
|
2011-09-03 19:11:44 +00:00
|
|
|
set_module_type(appwiz cpl UNICODE)
|
2013-05-19 21:21:20 +00:00
|
|
|
target_link_libraries(appwiz uuid wine)
|
|
|
|
add_delay_importlibs(appwiz msi)
|
2018-07-08 14:40:14 +00:00
|
|
|
add_importlibs(appwiz urlmon ole32 comctl32 advapi32 shell32 shlwapi user32 msvcrt kernel32 ntdll)
|
2014-02-09 12:26:28 +00:00
|
|
|
add_pch(appwiz appwiz.h SOURCE)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET appwiz DESTINATION reactos/system32 FOR all)
|