-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRAM_Cleaner_GUI.pro
More file actions
84 lines (67 loc) · 2.4 KB
/
Copy pathRAM_Cleaner_GUI.pro
File metadata and controls
84 lines (67 loc) · 2.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# =========================================================================
# RAM CLEANER & FLUSHER PRO (Qt 5.14.2 C++ GUI)
# =========================================================================
# Created & Developed By: AliSakkaf (By AliSakkaf)
# GitHub: https://github.com/alisakkaf
# Facebook: https://www.facebook.com/AliSakkaf.Dev/
# Website: https://alisakkaf.com/
# =========================================================================
QT += core gui widgets network xml
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++14 strict_c++
TARGET = RAM_Cleaner_Pro
TEMPLATE = app
VERSION = 1.1.0
DEFINES += QT_DEPRECATED_WARNINGS
# ----- Release size optimization flags -----
QMAKE_CXXFLAGS_RELEASE -= -O2
QMAKE_CFLAGS_RELEASE -= -O2
QMAKE_CXXFLAGS_RELEASE += -Os -ffunction-sections -fdata-sections -fmerge-all-constants -fno-stack-protector
QMAKE_CFLAGS_RELEASE += -Os -ffunction-sections -fdata-sections -fmerge-all-constants -fno-stack-protector
QMAKE_LFLAGS_RELEASE += -Wl,--gc-sections -s -Wl,--exclude-libs,ALL -Wl,--build-id=none
# Embedding Windows Resource File & Static Linking
win32 {
RC_FILE = app.rc
# Windows API System Libraries
LIBS += -lpsapi -ladvapi32 -luser32 -lshell32 -lole32
QMAKE_LFLAGS_RELEASE += -static -static-libgcc -static-libstdc++
QMAKE_LFLAGS_DEBUG += -static -static-libgcc -static-libstdc++
# Maximum QRC Compression (zlib level 9)
QMAKE_RESOURCE_FLAGS += -compress 9 -threshold 0
}
RESOURCES += \
resources.qrc
SOURCES += \
src/main.cpp \
src/mainwindow.cpp \
src/memory_cleaner.cpp \
src/app_booster.cpp \
src/settings_manager.cpp \
src/icon_provider.cpp \
src/process_info_dialog.cpp \
src/optimization_worker.cpp \
src/process_selection_dialog.cpp \
src/process_group_dialog.cpp \
src/update_manager.cpp \
src/installer_manager.cpp
HEADERS += \
src/version.h \
src/win_clean_includes.h \
src/mainwindow.h \
src/memory_cleaner.h \
src/app_booster.h \
src/settings_manager.h \
src/icon_provider.h \
src/process_info_dialog.h \
src/optimization_worker.h \
src/process_selection_dialog.h \
src/process_group_dialog.h \
src/update_manager.h \
src/installer_manager.h
FORMS += \
src/mainwindow.ui
# Output Directories
DESTDIR = $$PWD/bin
OBJECTS_DIR = $$PWD/build/obj
MOC_DIR = $$PWD/build/moc
UI_DIR = $$PWD/build/ui