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    appdb.cpp
9    appinfo.cpp
10    appview.cpp
11    asyncinet.cpp
12    cabinet.cpp
13    configparser.cpp
14    gui.cpp
15    integrity.cpp
16    loaddlg.cpp
17    misc.cpp
18    settings.cpp
19    settingsdlg.cpp
20    unattended.cpp
21    winmain.cpp
22    include/appdb.h
23    include/appinfo.h
24    include/appview.h
25    include/asyncinet.h
26    include/configparser.h
27    include/crichedit.h
28    include/defines.h
29    include/dialogs.h
30    include/gui.h
31    include/misc.h
32    include/rapps.h
33    include/resource.h
34    include/rosui.h
35    include/settings.h
36    include/unattended.h
37    include/winmain.h
38)
39
40add_definitions(
41    -DUSE_CERT_PINNING)
42
43file(GLOB_RECURSE rapps_rc_deps res/*.*)
44add_rc_deps(rapps.rc ${rapps_rc_deps})
45add_executable(rapps ${SOURCE} rapps.rc)
46set_module_type(rapps win32gui UNICODE)
47target_link_libraries(rapps conutils ${PSEH_LIB} uuid wine cpprt atl_classes)
48add_importlibs(rapps advapi32 comctl32 gdi32 wininet user32 shell32 shlwapi ole32 setupapi gdiplus msvcrt kernel32 ntdll)
49add_pch(rapps include/rapps.h SOURCE)
50add_dependencies(rapps rappsmsg)
51add_message_headers(ANSI rappsmsg.mc)
52add_cd_file(TARGET rapps DESTINATION reactos/system32 FOR all)
53