1project(rapps)
2
3include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/cryptlib)
4include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/conutils)
5include_directories(include)
6
7list(APPEND SOURCE
8    appview.cpp
9    asyncinet.cpp
10    available.cpp
11    cabinet.cpp
12    gui.cpp
13    installed.cpp
14    integrity.cpp
15    loaddlg.cpp
16    misc.cpp
17    settings.cpp
18    settingsdlg.cpp
19    winmain.cpp
20    unattended.cpp
21    include/rapps.h
22    include/appview.h
23    include/asyncinet.h
24    include/available.h
25    include/dialogs.h
26    include/gui.h
27    include/installed.h
28    include/crichedit.h
29    include/defines.h
30    include/misc.h
31    include/settings.h
32    include/resource.h
33    include/rosui.h
34    include/winmain.h
35    include/unattended.h
36)
37
38add_definitions(
39    -DUSE_CERT_PINNING)
40
41file(GLOB_RECURSE rapps_rc_deps res/*.*)
42add_rc_deps(rapps.rc ${rapps_rc_deps})
43add_executable(rapps ${SOURCE} rapps.rc)
44set_module_type(rapps win32cui UNICODE)
45target_link_libraries(rapps conutils ${PSEH_LIB} uuid wine cpprt atl_classes)
46add_importlibs(rapps advapi32 comctl32 gdi32 wininet user32 shell32 shlwapi ole32 setupapi gdiplus msvcrt kernel32 ntdll)
47add_pch(rapps include/rapps.h SOURCE)
48add_dependencies(rapps rappsmsg)
49add_message_headers(ANSI rappsmsg.mc)
50add_cd_file(TARGET rapps DESTINATION reactos/system32 FOR all)
51