Commit Graph

51 Commits

Author SHA1 Message Date
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
levlam
9a24cd40ec GeneratePkgConfig: return back prefix variable, so it can be overriden by pkg-config.
GitOrigin-RevId: 4cf5e2a9e65b0114ec8ee30dcfae5bd7f526bcf5
2020-10-13 00:50:08 +03:00
levlam
8a6bf5e7a1 GeneratePkgConfig: fix handling of install path with spaces.
GitOrigin-RevId: b18c2db8cd6314765b41509b094093853bbf5def
2020-10-12 23:38:43 +03:00
levlam
e3449e0df8 GeneratePkgConfig: remove duplicate libraries.
GitOrigin-RevId: b16e2a7e99d22508e09f5df419d27874941991f6
2020-10-12 23:21:30 +03:00
levlam
cb0688d792 GeneratePkgConfig: ignore DEBUG-only dependencies.
GitOrigin-RevId: f4c551006003879bdb079d36fdf3ef76eb553a14
2020-10-12 23:10:28 +03:00
levlam
885a9d8e9c GeneratePkgConfig: fix CMake 3.0 compatibility.
GitOrigin-RevId: 20aad92a716731d09d55c946bf5655e9f388a6d1
2020-10-12 22:31:02 +03:00
levlam
647250bcb4 Generate pkgconfig files only for installed libraries.
GitOrigin-RevId: 72c5089e9aaefbf2886cee16bff729d738f1ef1f
2020-10-12 22:27:26 +03:00
levlam
9390cd20bc GeneratePkgConfig: use CMAKE_INSTALL_* variables.
GitOrigin-RevId: 1054a674f8bdf54d1d45dfe6e439811116f344c4
2020-10-12 21:45:20 +03:00
levlam
162b87e1a8 Use spaces instead of tabs in CMake module for consistency.
GitOrigin-RevId: 39fc482b99cb70235b10624bed6adb9a75752020
2020-10-12 21:39:48 +03:00
Gustavo Marques
ba948f8661
generate pkg-config files for targets (#1223) 2020-10-12 21:31:22 +03:00
levlam
d1227466fc Fix add_cxx_compiler_flag.
GitOrigin-RevId: fdca6decb5951470e51ecc46cc797877c19a2566
2019-04-22 04:17:07 +03:00
levlam
c62ff7039e Minor fixes.
GitOrigin-RevId: f0ba3402adf4a26d8220d9b5545e9ea18f094e65
2019-04-22 03:46:51 +03:00
levlam
e785ac6bba Better CMake variable expansion usage in if.
GitOrigin-RevId: 28a5d6bbab13a9eacf9b1b8f0ac8eeff1be21556
2019-04-04 22:23:06 +03:00
levlam
162e185565 Fix CMake functions case.
GitOrigin-RevId: abf1969eb50248a30ece29bbd4b38f3dace28788
2018-06-12 18:45:37 +03:00
Arseny Smirnov
1424b2037e Trying to add AppleTvOs support
GitOrigin-RevId: 923552a936613d5e30361bb354709337e8b0a990
2018-02-15 00:01:28 +03:00
Arseny Smirnov
f8429cf2b4 Ios build example
GitOrigin-RevId: fb1b29dbc054e6362272f4bda82a17866ee74770
2018-02-14 13:19:12 +03:00
levlam
1f87b641e6 README.md improvements.
GitOrigin-RevId: a523d6133866d00e6a30756a75dcf1c61ada8afb
2018-02-04 00:51:01 +03:00
levlam
d8f13abb2c Make JNI-bindings package-agnostic.
GitOrigin-RevId: a3a66de7561cf0ea9a3faf0b26bda1c34de7d317
2018-01-21 14:45:24 +03:00
levlam
2e77980558 Rewrite FindReadline.cmake.
GitOrigin-RevId: 972454175f186ce3a94d18f8853d44851466e71d
2018-01-06 23:49:34 +03:00