Commit Graph

69 Commits

Author SHA1 Message Date
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
levlam
a9c36dbd57 GeneratePkgConfig: fix install.
GitOrigin-RevId: a5287a6f9147814994dc948b3f59ff184852bc0d
2020-10-13 13:37:47 +03:00
levlam
3d52512d26 GeneratePkgConfig: fix absolute path handling.
GitOrigin-RevId: b5cdd94ca3b8c90781fd6101ab4ed58b159344fe
2020-10-13 13:14:28 +03:00
levlam
f08e0fb116 GeneratePkgConfig: fix variable expansion usages.
GitOrigin-RevId: e7545e211540207bcac81c2600413c1357132680
2020-10-13 12:59:24 +03:00
levlam
95b397d52e GeneratePkgConfig: minor variable expansion fixes.
GitOrigin-RevId: 7b04158cc1262040fb5a9ebd33df50571e63b529
2020-10-13 01:09:26 +03:00
levlam
797d42679f GeneratePkgConfig: fix dependent library names on Windows.
GitOrigin-RevId: 72de9174b1b9676ef1817b9fe7f2ed893d6c7e16
2020-10-13 00:55:59 +03:00