Commit Graph

38 Commits

Author SHA1 Message Date
Ilya Fedin 8fe48f3ca2 Use cmake_dependent_option to better declare variables that relate on other variables 2022-08-11 09:07:15 +03:00
Ilya Fedin 7c8d10022f Use return to decrease indentation in cmake files 2022-01-12 20:34:51 +03:00
Ilya Fedin 072e346324 Move libdl/libpthread handling to common_options 2022-01-05 13:18:08 +03:00
John Preston dad11a17dd Build tg_owt / tgcalls / tgvoip with C++20. 2021-11-26 18:00:18 +04:00
Ilya Fedin 97262a99c7 Get rid of osx and linux32 special targets 2021-08-11 16:59:27 +03:00
Ilya Fedin d9ea4f31ca Add SYSTEM flag to target_include_directories where appropriate 2021-07-19 22:31:27 +03:00
Ilya Fedin 79cc797aff Fix -Wunused-variable warnings 2021-07-13 21:43:34 +03:00
Ilya Fedin 3f25e92afd Add build options for libtgvoip backends
libtgvoip has options to disbale some backends, but they never were exposed via tdesktop's cmake

Since libtgvoip autoconf build system doesn't work anymore, it's worth to have these options in tdesktop's cmake.
2021-03-20 14:33:02 +03:00
Nicholas Guriev 153c949a88 Clean up DESKTOP_APP_DISABLE_WEBRTC_INTEGRATION 2021-02-04 17:39:33 +04:00
Ilya Fedin ce49714533 Use FindALSA instead of pkg-config 2020-10-07 17:10:27 +03:00
John Preston 693d3a922f Use webrtc from a custom-built fork. 2020-08-21 17:52:13 +04:00
Ilya Fedin d97880913c Get rid of TDESKTOP_USE_PACKAGED_TGVOIP 2020-08-15 17:43:28 +04:00
John Preston 369ec46064 Allow building without WebRTC. 2020-08-11 21:33:15 +04:00
John Preston eda22b925f Fix build on Linux 64 bit. 2020-08-11 18:21:40 +04:00
John Preston 815300bffc Fix video between tdesktop instances. 2020-08-11 18:21:40 +04:00
John Preston 12e0399cf4 Add tgcalls library. 2020-08-11 18:21:40 +04:00
John Preston b703f4e555 Fix build on Linux. 2020-08-11 18:21:40 +04:00
John Preston 145ace2fa0 Use external_webrtc in libtgvoip. 2020-08-11 18:21:40 +04:00
Ilya Fedin aaf71b34b5 Find alsa and pulse for libtgvoip 2020-06-29 16:18:47 +04:00
Ilya Fedin 492dc2568c Add DESKTOP_APP_USE_PACKAGED support for Windows 2020-05-12 17:32:40 +04:00
Ilya Fedin 27f6c8ce62 Move CMAKE_DL_LIBS to libtgvoip cmake file and add missed pthread
Remove unneeded minizip include directory from cmake

Remove unneeded compile definations

Opus is needed only by libtgvoip
2020-05-05 14:31:18 +04:00
Ilya Fedin 3135463017 Add new option to simplify creation of self-contained packages (snap/flatpak/appimage) 2020-05-05 14:31:18 +04:00
Ilya Fedin a7764f84f0 Proper usage of pkg-config 2020-04-21 14:05:22 +04:00
John Preston 23f6044081 Remove GYP build scripts. 2020-01-21 18:47:25 +03:00
John Preston c1003e39d1 Fix build with new libtgvoip. 2020-01-21 18:46:49 +03:00
Ilya Fedin c13d637502 Fix spaces on end of lines 2020-01-21 11:58:57 +03:00
Ilya Fedin 6fdd1389e6 Make packaged build working 2020-01-17 13:34:27 +03:00
Leo f2c8167124 lib_tgvoip.cmake: Match against x86 arches.
This avoids matching against other 32bit arches like armv7/armhf that
doesn't have msse2 but are 32bit and need other 32bit-specific flags to
allow for compilation like -g0.
2020-01-17 10:42:50 +03:00
John Preston da7178089f Version 1.9.3: Fix build for OS X 10.10-10.11. 2019-12-31 17:52:15 +03:00
John Preston 998b36f014 Use installed opus on non-Windows. 2019-12-09 09:36:37 +03:00
John Preston f1877641e5 Closed alpha version 1.9.1.8: Fix macOS build. 2019-12-06 14:22:46 +03:00
John Preston 619dbe9b11 Initial Linux build. 2019-12-04 11:22:11 +03:00
John Preston 5bfb98b70d Initial build with Xcode. 2019-11-25 18:46:02 +03:00
John Preston 11b02b4f88 Use namespaced library aliases. 2019-11-21 17:43:20 +03:00
John Preston 9e5262008f Add more options. 2019-11-21 14:56:17 +03:00
John Preston e5bd187d4d Use precompiled header from cmake 3.16. 2019-11-18 00:29:03 +03:00
John Preston 61723bd794 Initial Windows Debug build with cmake. 2019-11-11 13:39:48 +03:00
John Preston 85060cd655 Compile all code with cmake. 2019-11-09 19:06:00 +03:00