2011-05-16 13:12:07 +00:00
|
|
|
|
2013-05-19 21:21:20 +00:00
|
|
|
include_directories(BEFORE ${REACTOS_SOURCE_DIR}/include/reactos/wine)
|
|
|
|
|
|
|
|
remove_definitions(-D_WIN32_WINNT=0x502)
|
|
|
|
add_definitions(-D_WIN32_WINNT=0x600)
|
|
|
|
|
|
|
|
add_definitions(-D__WINESRC__)
|
|
|
|
|
2011-05-16 13:12:07 +00:00
|
|
|
spec2def(appwiz.cpl appwiz.spec)
|
|
|
|
|
|
|
|
add_library(appwiz SHARED
|
2013-05-19 21:21:20 +00:00
|
|
|
addons.c
|
2011-05-16 13:12:07 +00:00
|
|
|
appwiz.c
|
|
|
|
createlink.c
|
|
|
|
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_importlibs(appwiz urlmon ole32 comctl32 advapi32 shell32 user32 msvcrt kernel32 ntdll)
|
|
|
|
add_delay_importlibs(appwiz msi)
|
2011-07-28 14:51:16 +00:00
|
|
|
add_pch(appwiz appwiz.h)
|
2011-05-16 13:12:07 +00:00
|
|
|
add_cd_file(TARGET appwiz DESTINATION reactos/system32 FOR all)
|