Commit Graph

74 Commits

Author SHA1 Message Date
levlam
7709da3f44 Fix MSVC LTO build by splitting tdcore target. 2024-05-20 00:03:06 +03:00
levlam
19533bc90a Use safe identical code folding on Android. 2024-05-06 21:50:17 +03:00
levlam
23c7a6caee Improve visionOS support. 2024-03-11 22:41:06 +03:00
Vincent Neo
d326e32a84 Rename xrOS to visionOS 2024-03-11 22:33:56 +03:00
Vincent Neo
874796ef24 build tdlib for xros/visionos 2024-03-11 22:33:56 +03:00
levlam
b788136508 Minor improvements. 2024-03-03 02:14:53 +03:00
levlam
edb552df68 Support FindAtomics on NetBSD. 2024-02-21 18:31:03 +03:00
levlam
69908ae3c4 Rewrite FindAtomics.cmake. 2024-02-21 18:29:35 +03:00
levlam
6c5441c8ff Add ATOMICS_LIBRARY_FLAGS. 2024-02-19 16:54:29 +03:00
levlam
1202a4d957 Use https://github.com/libjxl/libjxl/blob/main/cmake/FindAtomics.cmake to find libatomic. 2024-02-19 16:31:00 +03:00
levlam
335b110f9e Add -Wno-psabi option to disable ABI compatibility warnings on ARM. 2024-02-19 15:44:26 +03:00
Sergey Akentev
8951949ece Change deprecated exec_program to execute_process in iOS.cmake
See CMP0153
2023-12-22 15:39:13 +03:00
levlam
91b57ccceb Suppress logging if failed to find Crc32c, Readline or Git. 2023-10-15 00:23:01 +03:00
Vincent Neo
bad52cd8dc
Fix building with Xcode 15 (#2606) 2023-09-16 11:04:27 +03:00
levlam
5b06e003fd Remove support of outdated Darwin architectures. 2023-07-30 01:34:50 +03:00
levlam
0298f53081 Disable maybe-uninitialized warnings also for old GCC versions. 2023-07-29 17:12:58 +03:00
levlam
282b523157 Silence useless clang warning. 2023-07-07 00:16:08 +03:00
levlam
dc9396a84f Simpler support for modern Xcode flags. 2023-04-24 15:35:35 +03:00
Sergey Akentev
0dc8ac5dd8
Modern naming for IOS_DEPLOYMENT_TARGET (#2405)
+ fix for tvos-simulator naming
2023-04-24 15:26:37 +03:00
levlam
15944f2a00 Add ARM64 support for watchOS. 2023-03-03 14:10:15 +03:00
levlam
903d994799 Improve punctuation. 2023-01-02 15:38:04 +03:00
Eric Kotato
6679837ea1
Fix MinGW (32-bit) out of memory error (#2212) 2022-11-26 00:48:53 +03:00
levlam
23df775c56 Remove bitcode from iOS/tvOS/watchOS binaries as required by https://developer.apple.com/documentation/Xcode-Release-Notes/xcode-14-release-notes. 2022-09-30 14:57:03 +03:00
levlam
da9f8078b8 CMake: fix get_git_head_revision. 2022-08-14 16:36:21 +03:00
levlam
9c6f457715 Explicitly define _GNU_SOURCE. 2022-07-26 10:33:25 +03:00
levlam
ffc26eea08 Fix GIT_EXECUTABLE usage. 2022-07-21 20:24:03 +03:00
levlam
abc9ed2cd9 Minor fixes. 2022-07-14 18:38:48 +03:00
levlam
954444e692 Don't allow to look above CMAKE_CURRENT_SOURCE_DIR to support gitrepo. Fix a regexp. 2022-07-10 19:07:15 +03:00
levlam
be18035b5d Remove non-working git_local_changes, which isn't updated on each rebuild, only when hash changes. 2022-07-10 18:20:23 +03:00
levlam
22ce9df352 Use scripts from https://github.com/rpavlik/cmake-modules to find git revision description. 2022-07-10 17:54:43 +03:00
levlam
f083da4c1e Ignore CMAKE_INSTALL_PREFIX in pkgconfig, if CMAKE_INSTALL_*DIR is absolute. 2022-07-09 23:40:22 +03:00
levlam
d37ad61f86 Generate GIT_COMMIT and GIT_DIRTY from CMake. 2022-07-08 20:56:43 +03:00
levlam
d85037f377 Enable _FILE_OFFSET_BITS even on Android. 2022-05-11 19:03:57 +03:00
levlam
18cd0dd95e Workaround GCC 12 false positive warnings. 2022-05-18 16:59:15 +03:00
KnorpelSenf
789b9c0a55 Fix much typos 2022-01-25 16:07:36 +03:00
levlam
7d5d7eb990 Fix tdweb building. 2021-12-27 14:09:57 +03:00
levlam
dcd387c34f Support Apple Silicon paths in FindReadline. 2021-12-23 18:47:12 +03:00
Hsüan
eec1953c75 Ability to override default value of IOS_ARCH 2021-12-17 01:10:12 +03:00
levlam
61c3a2bcf5 Remove TD_EXPERIMENTAL_WATCH_OS. 2021-09-24 13:41:22 +03:00
Sergey
ab4736df28
M1 support (#1620)
* Support Arm64 simulator targets (M1)

* Combine dylibs to xcframework

* Update Python-Apple-support urls

* Update Readme
2021-09-03 09:25:14 +03:00
levlam
7968aad0d4 Suppress GCC warnings about casts of function pointers returned by GetProcAddress. 2021-09-01 19:32:21 +03:00
levlam
bfb2be1018 Improve linker flags. 2021-05-29 00:35:37 +03:00
levlam
b342ec33e5 Likely add Solaris support. 2021-04-30 02:34:12 +03:00
levlam
48997dc9e7 Use the same EXE_LINKER flags as SHARED_LINKER flags. 2021-04-30 01:51:50 +03:00
levlam
3007094fb8 Use -Wl,-z,ignore on illumos. 2021-04-30 01:48:01 +03:00
Joshua M. Clulow
ed291840d3
add illumos support (#1501) 2021-04-29 16:40:08 +03:00
Arseny Smirnov
f866729415 update architectures for watchOS in example/ios 2021-03-26 18:04:25 +03:00
levlam
1f484446fc Fix pkgconfig install path.
GitOrigin-RevId: 2a8a4160d82ee15f02ee9996a7a964bd8fe37c6e
2020-11-02 19:34:21 +03:00
levlam
2875272cdc Add td_set_up_compiler() CMake function.
GitOrigin-RevId: 2b1a641e637f6ab80fa394811b152804a6890c43
2020-10-29 15:02:20 +03:00
levlam
357ed48e0e Add PreventInSourceBuild.cmake.
GitOrigin-RevId: a774b5aa7adbeb3ba974ff55a3de52f7d6371a49
2020-10-29 12:57:30 +03:00