1
0
Fork 0
Commit graph

500 commits

Author SHA1 Message Date
Ilya Fedin
c33cf7240f Add minimum glibmm version 2023-03-21 11:40:45 +04:00
John Preston
49272b9606 Fix linking on GCC. 2023-03-09 23:21:14 +04:00
John Preston
d3977a83a6 Link avfilter. 2023-03-07 19:48:39 +04:00
Ilya Fedin
31eb395967 Update Qt cmake rules for Qt 6.5 on Linux 2023-03-01 10:32:18 +04:00
Ilya Fedin
8a62b6659d Use _init targets that provide Q_IMPORT_PLUGIN calls 2023-03-01 10:32:18 +04:00
Ilya Fedin
b5dd1db129 Fix link to new libde265 on Linux 2023-02-21 18:53:02 +04:00
Vitaly Zaitsev
86270a961e Set minimal packaged GSL version to 4.0.0 due to modern headers usage. 2023-02-15 20:22:14 +04:00
Ilya Fedin
9310263cd6 Don't try to find Qt 6 on Windows 2023-02-13 16:52:42 +04:00
Ilya Fedin
0f86a05ab0 Silence new Xcode warnings 2023-02-13 16:52:42 +04:00
Ilya Fedin
556dcb0166 Use QT_DEPRECATED_WARNINGS_SINCE 2023-02-13 16:52:42 +04:00
John Preston
17951fb650 Re-enable global /LTCG on Windows.
With /LTCGOUT: empty path it should not try generating .iobj file,
and work on both 32 bit and 64 bit build with all static libs.
2023-02-08 13:19:21 +04:00
John Preston
aa1e0d84b9 Allow weak-linking of macOS frameworks. 2023-01-09 10:29:08 +04:00
Ilya Fedin
de92292f89 Ensure executables operating in UTF-8 charset on Windows
Otherwise Qt assumptions are likely broken
2022-12-31 10:19:02 +04:00
Ilya Fedin
4d8c8a0f84 Link Qt to lcms2 on Linux 2022-12-28 15:35:51 +04:00
John Preston
8cbc57f355 Fix generate_single_protobuf timestamp file generation. 2022-12-26 13:42:33 +04:00
Ilya Fedin
bb07e9d698 Add dav1d dependency to external_ffmpeg 2022-12-25 07:35:22 +04:00
Daniel Novomeský
af37d955bb Enable support for AVIF, HEIF and JPEG XL on Windows 2022-12-19 11:36:44 +04:00
Ilya Fedin
c84790f978 Set NDEBUG when debug webrtc build is not found 2022-12-16 10:46:40 +04:00
Klemens Nanni
085086856c Fix tdesktop 4.3.4 cld3 bundle build with system protobuf
```
.../Telegram/ThirdParty/cld3/build/gen/cld_3/protos/sentence.pb.h:10:10: fatal error: 'google/protobuf/port_def.inc' file not found
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
2022-12-08 06:41:46 +04:00
John Preston
f4c7f67d60 Allow passing LTCG as an init_target argument. 2022-12-07 10:55:53 +04:00
Ilya Fedin
609e21643b Fix the order of default Qt version
It seems both Qt and cmake documentations are incorrect about the order used in NAMES keyword
2022-12-07 09:23:29 +04:00
John Preston
125b9571c5 Remove global LTCG on Windows build (object too large). 2022-12-06 18:11:17 +04:00
John Preston
f5dab7d4b7 Don't enable LTCG in Debug on Windows. 2022-11-25 16:33:41 +01:00
Ilya Fedin
4a261d8c52 Fallback to protobuf cmake config 2022-11-25 12:18:45 +01:00
Ilya Fedin
0ff8f97600 Fix noisy warnings with clang 2022-11-25 11:15:14 +01:00
Ilya Fedin
2c86aa9a3d Fix packaged build with cld3 2022-11-25 11:15:14 +01:00
Ilya Fedin
25088a573b Revert "Add external_sonnet library"
This reverts commit 81705fb609.
2022-11-25 11:15:14 +01:00
23rd
7267c03054 Fixed generating of timestamp file for protobuf dependencies. 2022-11-23 22:58:29 +01:00
Ilya Fedin
81705fb609 Add external_sonnet library 2022-11-23 22:57:44 +01:00
John Preston
2c341a0d3e Return LTCG for Windows 32 bit build. 2022-11-23 10:06:52 +01:00
23rd
5727743f9a Added external cld3 module. 2022-11-21 22:01:49 +00:00
23rd
07ed08bf94 Added NaturalLanguage framework on macOS. 2022-11-20 16:51:23 +03:00
Ilya Fedin
d41ce7f553 Inherit per-config INTERPROCEDURAL_OPTIMIZATION options
This also fixes the missing -fno-use-linker-plugin in Debug configuration with DESKTOP_APP_SPECIAL_TARGET since the last change
2022-11-18 20:31:01 +04:00
Ilya Fedin
5723b4f274 Fix conditions for LTO-related options on Linux
Currently LTO seem to be always active even when it's not meant to and LTO seem to be broken in debug build.
2022-11-08 23:23:06 +04:00
Ilya Fedin
cc8fc487d7 Switch to the new glibmm ABI 2022-11-03 13:48:11 +04:00
Ilya Fedin
a3afeeac0e Parallelize LTO on Linux 2022-11-03 13:47:47 +04:00
Ilya Fedin
36ee4977bb Synchronize dispatch and jemalloc build flags with common_options 2022-11-01 14:36:38 +04:00
Ilya Fedin
4294a1872f Silence LTO warnings 2022-11-01 14:36:38 +04:00
Ilya Fedin
700a46e5db Fix LTO in debug build 2022-11-01 14:36:38 +04:00
Ilya Fedin
3c98147427 Set hardening flags only for non-packaged/special target builds 2022-11-01 14:36:38 +04:00
Ilya Fedin
74fbd92f9f Fix target_prepare_qrc when generator expression evaluates into nothing 2022-11-01 14:36:38 +04:00
Ilya Fedin
bcd5e3a640 Use QtWaylandCompositor for webview embedding on Linux 2022-11-01 14:36:38 +04:00
Ilya Fedin
2ba61d5977 Fix default kcoreaddons logging level 2022-10-22 08:45:41 +04:00
Ilya Fedin
e8bc7cfd1d Don't update kcoreaddons helper headers on every reconfigure 2022-10-03 08:02:14 +04:00
Ilya Fedin
6f96a68508 Revert "Move more compiler options to DESKTOP_APP_SPECIAL_TARGET condition"
This reverts commit 32257877e0.
2022-10-01 08:35:13 +04:00
23rd
0d27a76e76 Added ability to set target architecture in non-packaged mode for macOS. 2022-09-30 14:59:43 +03:00
Ilya Fedin
cd12cb93ea Make target_*_options_if_exists actually work 2022-09-30 11:05:56 +04:00
Ilya Fedin
32257877e0 Move more compiler options to DESKTOP_APP_SPECIAL_TARGET condition 2022-09-30 10:09:46 +04:00
Ilya Fedin
84f43a8252 Build bundled kcoreaddons 2022-09-28 21:18:22 +04:00
Ilya Fedin
f49e254d8c Fix order of libdl linking 2022-09-23 23:26:09 +04:00