mirror of
https://github.com/qTox/qTox.git
synced 2024-03-22 14:00:36 +08:00
chore(qtox.pro): enable maximum ressource compression
This change reduces memory usage during compilation from ~1.2GB to ~600MB. Additionally it reduces the size of a dynamically linked qTox binary from ~10MB to ~6MB.
This commit is contained in:
parent
7405fde6b8
commit
279225cd2d
1
qtox.pro
1
qtox.pro
@ -41,6 +41,7 @@ CONFIG += c++11
|
|||||||
CONFIG += link_pkgconfig
|
CONFIG += link_pkgconfig
|
||||||
|
|
||||||
QMAKE_CXXFLAGS += -fno-exceptions
|
QMAKE_CXXFLAGS += -fno-exceptions
|
||||||
|
QMAKE_RESOURCE_FLAGS += -compress 9 -threshold 0
|
||||||
|
|
||||||
# Rules for creating/updating {ts|qm}-files
|
# Rules for creating/updating {ts|qm}-files
|
||||||
include(translations/i18n.pri)
|
include(translations/i18n.pri)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user