1
0
Fork 0
Commit graph

31 commits

Author SHA1 Message Date
Ilya Fedin
1c07a71d6f Use ARGN where applicable 2023-06-01 11:44:53 +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
f4c7f67d60 Allow passing LTCG as an init_target argument. 2022-12-07 10:55:53 +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
John Preston
2c341a0d3e Return LTCG for Windows 32 bit build. 2022-11-23 10:06:52 +01: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
1a24c441a8 Fix a warning about using uninitialized variable 2022-08-11 10:42:09 +03:00
John Preston
fdd7abd266 Disable LTCG for 64 bit Windows build.
It now fails with:

Telegram.dir\Release\Telegram.iobj : fatal error LNK1248: image size
(1029C441A) exceeds maximum allowable size (FFFFFFFF)
2021-11-27 21:35:13 +04:00
John Preston
13586e1343 Use C++20 mode on GCC. 2021-11-14 11:29:38 +04:00
John Preston
410223b538 Add DESKTOP_APP_MAC_ARCH for separate macOS builds. 2021-10-28 16:15:30 +04:00
Ilya Fedin
3b4cffcfa7 Don't use PUBLIC in init_target
init_target should affect only specified target
2021-08-08 09:26:18 +03:00
Ilya Fedin
1c8cfe49c5 Clang build fixes 2021-07-13 20:28:33 +03:00
23rd
a7e73ebc03 Reverted CXX standard to latest on Apple Clang.
Related commit: 5d6f8ebee3.
2020-10-30 13:16:23 +03:00
John Preston
5d6f8ebee3 Downgrade to C++17 on Apple Clang for now.
See https://github.com/ericniebler/range-v3/pull/1570.
2020-09-29 20:19:33 +03:00
John Preston
4c8956027d Use tg_owt webrtc fork. 2020-08-20 16:06:55 +04:00
Ilya Fedin
6797807bf2 Remove DESKTOP_APP_ENABLE_IPO_OPTIMIZATIONS since cmake has CMAKE_INTERPROCEDURAL_OPTIMIZATION 2020-08-18 08:04:35 +04:00
Ilya Fedin
f05e28c8da Replace DESKTOP_APP_USE_PACKAGED with DESKTOP_APP_SPECIAL_TARGET in some places 2020-08-10 15:32:52 +04:00
Ilya Fedin
4ea254886e Add DESKTOP_APP_USE_PACKAGED support for Windows 2020-05-12 14:44:38 +04:00
Ilya Fedin
d5153dfd92 Adapt DESKTOP_APP_USE_PACKAGED for macOS and proper usage of pkg-config 2020-04-21 23:11:32 +04:00
Vitaly Zaitsev
b944efa1f3 Added support of IPO optimizations.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
2020-01-24 16:47:48 +03:00
Nicholas Guriev
67cf2a5abd Use C++17 as maximum standard for GCC
GCC 9 has incomplete and buggy implementation of -std=c++2a. Rollback to c++17.
2020-01-22 17:20:56 +03:00
23rd
9d2b5fe0e4 Updated std to C++20. 2020-01-18 16:17:27 +03:00
Ilya Fedin
1db22f3663 Make packaged build working 2020-01-16 11:32:32 +04:00
John Preston
0340f72294 Fix build on Linux 32bit. 2019-12-05 11:08:07 +03:00
John Preston
af968dc8ea Initial Linux build. 2019-12-03 19:06:31 +03:00
John Preston
60f9cc611a Enable LTO by Xcode project settings. 2019-11-29 17:52:44 +03:00
John Preston
9e68adb866 Initial build with Xcode. 2019-11-25 18:39:08 +03:00
John Preston
b303af63d7 Build Release with debug symbols. 2019-11-22 21:00:39 +03:00
John Preston
33612794c6 Use namespaced library aliases. 2019-11-21 17:43:00 +03:00
John Preston
2a87436d39 Initial commit. 2019-11-18 00:32:53 +03:00