mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-01-29 19:03:03 +00:00
Build and link rnnoise on Windows.
This commit is contained in:
parent
5010c9033b
commit
a41b7b62ac
2
Telegram/ThirdParty/tgcalls
vendored
2
Telegram/ThirdParty/tgcalls
vendored
@ -1 +1 @@
|
||||
Subproject commit 4a9de89c61882f00e0563d44516284a89874144b
|
||||
Subproject commit cdd2803ad40cbba455f64ee93bc434698afc2e06
|
@ -126,6 +126,7 @@ target_link_libraries(lib_tgcalls
|
||||
PRIVATE
|
||||
desktop-app::external_webrtc
|
||||
desktop-app::external_ffmpeg
|
||||
desktop-app::external_rnnoise
|
||||
)
|
||||
|
||||
target_compile_definitions(lib_tgcalls
|
||||
|
@ -146,6 +146,16 @@ Open **x86 Native Tools Command Prompt for VS 2019.bat**, go to ***BuildPath***
|
||||
msbuild opus.sln /property:Configuration=Debug /property:Platform="Win32"
|
||||
msbuild opus.sln /property:Configuration=Release /property:Platform="Win32"
|
||||
|
||||
git clone https://github.com/desktop-app/rnnoise.git
|
||||
cd rnnoise
|
||||
git checkout tdesktop
|
||||
mkdir out
|
||||
cd out
|
||||
cmake -A Win32 ..
|
||||
cmake --build . --config Debug
|
||||
cmake --build . --config Release
|
||||
cd ..
|
||||
|
||||
cd ..\..\..\..
|
||||
SET PATH_BACKUP_=%PATH%
|
||||
SET PATH=%cd%\ThirdParty\msys64\usr\bin;%PATH%
|
||||
|
Loading…
Reference in New Issue
Block a user