1
0
Fork 0
Commit graph

580 commits

Author SHA1 Message Date
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
Ilya Fedin
848c16578e Implement target_compile_options_if_exists, target_link_options_if_exists 2022-09-21 16:55:11 +04:00
Ilya Fedin
19aa4dd175 Replace FindThreads with custom logic
It doesn't seem to do what we want, unfortunately...
2022-09-21 08:05:16 +04:00
John Preston
6c7b8d8b4c Link Qt::WidgetsPrivate for touch support in popup windows. 2022-09-19 16:28:19 +04:00
Ilya Fedin
d405db0737 Fix order of brotlicommon linking 2022-09-19 15:25:50 +04:00
Ilya Fedin
152fc28f34 Add a shim for KSandbox 2022-09-19 12:37:42 +04:00
Ilya Fedin
c79563ea34 Add support for AVIF, HEIF and JPEG XL (only on Linux yet) 2022-09-18 16:59:09 +04:00
Ilya Fedin
b9f1b60363 Fix various spaces on end of lines 2022-09-02 19:14:56 +04:00
Ilya Fedin
0638ec7b0e WaylandClientPrivate no more 2022-09-02 19:14:56 +04:00
Ilya Fedin
bc81751018 Add RHI shader resources for Qt 6.4 2022-09-02 19:14:56 +04:00
Ilya Fedin
7b43684a1c Add missing REQUIRED to find_library call 2022-08-30 08:59:54 +04:00
John Preston
d5190185f7 Update desired d3dcompiler version. 2022-08-29 09:11:17 +04:00
Ilya Fedin
ed89d82487 Restore ZLIB_WINAPI define 2022-08-28 00:28:18 +04:00
Ilya Fedin
64202d7765 Find nuget in the recommended directroy automatically 2022-08-27 12:46:23 +04:00
Ilya Fedin
f9b8a35464 Use zlib built with cmake on Windows 2022-08-27 12:46:23 +04:00
Ilya Fedin
41ff5e28cd Prepend cache variables for libraries searching with DESKTOP_APP_
To avoid confusion with exports of various cmake packages
2022-08-27 12:45:50 +04:00
Ilya Fedin
1e0b42d295 Don't set LINK_SEARCH_START_STATIC on targets
There's target_link_static_libraries to search static variants of libraries, so having such behavior by default is not something wanted
2022-08-27 12:45:50 +04:00
Ilya Fedin
017f5d4e35 Fix a typo in kcoreaddons target name 2022-08-27 12:45:26 +04:00
Ilya Fedin
96e9bf770c Add external_kcoreaddons 2022-08-27 10:07:07 +04:00
Ilya Fedin
5f980167f7 Move build_* variable computation back to variables.cmake 2022-08-22 17:16:25 +04:00
Ilya Fedin
6f77ab1f86 Cache Qt version 2022-08-19 15:38:25 +04:00