xref: /reactos/dll/cpl/appwiz/CMakeLists.txt (revision 84344399)
1
2remove_definitions(-D_WIN32_WINNT=0x502)
3add_definitions(-D_WIN32_WINNT=0x600)
4
5add_definitions(-D__WINESRC__ -D_CRT_DECLARE_NONSTDC_NAMES=1)
6include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
7spec2def(appwiz.cpl appwiz.spec)
8
9list(APPEND SOURCE
10    addons.c
11    appwiz.c
12    createlink.c
13    removestartmenuitems.c
14    appwiz.h)
15
16file(GLOB appwiz_rc_deps resources/*.*)
17add_rc_deps(appwiz.rc ${appwiz_rc_deps})
18
19add_library(appwiz MODULE
20    ${SOURCE}
21    appwiz.rc
22    ${CMAKE_CURRENT_BINARY_DIR}/appwiz.def)
23
24set_module_type(appwiz cpl UNICODE)
25target_link_libraries(appwiz uuid wine)
26add_delay_importlibs(appwiz msi)
27add_importlibs(appwiz urlmon ole32 comctl32 advapi32 shell32 shlwapi user32 msvcrt kernel32 ntdll)
28add_pch(appwiz appwiz.h SOURCE)
29add_cd_file(TARGET appwiz DESTINATION reactos/system32 FOR all)
30