Build and link rnnoise on Windows.

This commit is contained in:
John Preston
2021-04-15 17:55:13 +04:00
parent 5010c9033b
commit a41b7b62ac
3 changed files with 12 additions and 1 deletions
+10
View File
@@ -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%