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
+1 -1
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)
+1 -1
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
+1 -1
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)
+1 -1
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)
+2 -2
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
Submodule cmake updated: aa1e0d84b9...17951fb650