Version 4.6.2: 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.
This commit is contained in:
John Preston 2023-02-08 13:19:52 +04:00
parent 9659cb5b6f
commit 84b4ab1c3c
12 changed files with 13 additions and 13 deletions

View File

@ -5,7 +5,7 @@
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
add_executable(Telegram WIN32 MACOSX_BUNDLE)
init_non_host_target(Telegram ltcg)
init_non_host_target(Telegram)
add_subdirectory(lib_rpl)
add_subdirectory(lib_crl)

View File

@ -6,7 +6,7 @@
add_library(lib_ffmpeg OBJECT)
add_library(desktop-app::lib_ffmpeg ALIAS lib_ffmpeg)
init_target(lib_ffmpeg ltcg)
init_target(lib_ffmpeg)
nice_target_sources(lib_ffmpeg ${src_loc}
PRIVATE

View File

@ -5,7 +5,7 @@
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
add_library(td_mtproto OBJECT)
init_non_host_target(td_mtproto ltcg)
init_non_host_target(td_mtproto)
add_library(tdesktop::td_mtproto ALIAS td_mtproto)
target_precompile_headers(td_mtproto PRIVATE ${src_loc}/mtproto/mtproto_pch.h)

View File

@ -5,7 +5,7 @@
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
add_library(td_scheme OBJECT)
init_non_host_target(td_scheme ltcg)
init_non_host_target(td_scheme)
add_library(tdesktop::td_scheme ALIAS td_scheme)
include(cmake/generate_scheme.cmake)

View File

@ -4,8 +4,8 @@
# For license and copyright information please follow this link:
# https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
add_library(td_ui STATIC)
init_non_host_target(td_ui ltcg)
add_library(td_ui OBJECT)
init_non_host_target(td_ui)
add_library(tdesktop::td_ui ALIAS td_ui)
include(lib_ui/cmake/generate_styles.cmake)

@ -1 +1 @@
Subproject commit 40d9bc8a644a5c51bb0790cf5f268e93a01fe59a
Subproject commit 1a969faa0afb29d53af03e530775eccdfb8433f1

@ -1 +1 @@
Subproject commit a2eb8075c2218a3d28a249fc913269fc1d8db0f7
Subproject commit 33d846fc2d88f577d89e7d359cde3fa0a22899e4

@ -1 +1 @@
Subproject commit 53d1322171ddfcfbce767cad1e2f0cb4efb91997
Subproject commit 3d7e1e1f1321c3defd21c01882d674e485ecd8df

@ -1 +1 @@
Subproject commit 99d1d946633819e375f9ea5508a903d37fef7146
Subproject commit 3e9c2f1026e4b5aa3202fca4cc67ece36c7cebb2

@ -1 +1 @@
Subproject commit 1b9b1739649ddf942937a6b9a1a22933070e5ecc
Subproject commit 66e47a0240251b50242b2a68413645b61fa28a95

@ -1 +1 @@
Subproject commit 853b9d8cbe02460f405ce1d13beb3a5be46a007f
Subproject commit b68a95ad4d1ae9a1827671100a7fd76cbe448c3f

2
cmake

@ -1 +1 @@
Subproject commit aa1e0d84b93e0901bb8db497e67276329ef9cc66
Subproject commit 17951fb650e380364968ed4f208e589e2812be3d