diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-08-11 23:02:51 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-08-11 23:02:51 +0200 |
commit | 8fa7dae82ac8e49b2a965377a663aedd08a5230b (patch) | |
tree | a6a50eb4f7357b23d56778516f64951ba0ea978d /libquotient.pri | |
parent | 08b9adcf611e0307daa8297205eb9ed3af66c71e (diff) | |
download | libquotient-8fa7dae82ac8e49b2a965377a663aedd08a5230b.tar.gz libquotient-8fa7dae82ac8e49b2a965377a663aedd08a5230b.zip |
Build system optimisations
* -DQT_NO_JAVA_STYLE_ITERATORS
* Use precompiled headers on CMake >= 3.16
(except GCC, blame its cheap PCH implementation)
* -fvisibility-inlines-hidden when using CMake
Diffstat (limited to 'libquotient.pri')
-rw-r--r-- | libquotient.pri | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libquotient.pri b/libquotient.pri index 98fe3b03..ef0f112a 100644 --- a/libquotient.pri +++ b/libquotient.pri @@ -13,6 +13,7 @@ win32-msvc* { QMAKE_CXXFLAGS_WARN_ON *= -Wno-unused-parameter } +DEFINES += QT_NO_JAVA_STYLE_ITERATORS contains(DEFINES, Quotient_E2EE_ENABLED=.) { contains(DEFINES, USE_INTREE_LIBQOLM=.) { include(3rdparty/libQtOlm/libQtOlm.pri) |