[RAPPS] CMainWindow: remove unused functions , and the globals g_MainWindow and hListView
[reactos.git] / base / applications / rapps / CMakeLists.txt
1 project(rapps)
2
3 set_cpp(WITH_RUNTIME)
4
5 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/atl)
6 include_directories(${REACTOS_SOURCE_DIR}/sdk/lib/cryptlib)
7 include_directories(include)
8
9 list(APPEND SOURCE
10 aboutdlg.cpp
11 available.cpp
12 cabinet.cpp
13 gui.cpp
14 installed.cpp
15 integrity.cpp
16 loaddlg.cpp
17 misc.cpp
18 settingsdlg.cpp
19 winmain.cpp
20 unattended.cpp
21 include/rapps.h
22 include/available.h
23 include/dialogs.h
24 include/installed.h
25 include/crichedit.h
26 include/defines.h
27 include/misc.h
28 include/resource.h
29 include/rosui.h
30 include/winmain.h
31 include/unattended.h
32 )
33
34 add_definitions(
35 -DUSE_CERT_PINNING
36 -D_ATL_NO_EXCEPTIONS)
37
38 file(GLOB_RECURSE rapps_rc_deps res/*.*)
39 add_rc_deps(rapps.rc ${rapps_rc_deps})
40 add_executable(rapps ${SOURCE} rapps.rc)
41 set_module_type(rapps win32gui UNICODE)
42 target_link_libraries(rapps uuid wine)
43 add_importlibs(rapps advapi32 comctl32 gdi32 wininet user32 shell32 shlwapi ole32 setupapi msvcrt kernel32 ntdll)
44 add_pch(rapps include/rapps.h SOURCE)
45 add_dependencies(rapps rappsmsg)
46 add_message_headers(ANSI rappsmsg.mc)
47 add_cd_file(TARGET rapps DESTINATION reactos/system32 FOR all)