Skip to content

Commit

Permalink
Update build script
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobo1 committed Mar 4, 2024
1 parent 24cd6b3 commit 9db3af9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
10 changes: 6 additions & 4 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ environment:
OGG_MSBUILD_CMD_X64: /maxcpucount /property:Configuration=Release,Platform=x64 /target:ogg

OPUS_SOL_FILE: Opus.sln
#OPUS_GIT_TAG: v1.3.1
OPUS_GIT_TAG: v1.5.1
OPUS_CMAKE: -DOPUS_DEEP_PLC=ON -DOPUS_DRED=ON -DOPUS_OSCE=ON
OPUS_MSBUILD_CMD_X86: /maxcpucount /property:Configuration=Release,Platform=Win32
OPUS_MSBUILD_CMD_X64: /maxcpucount /property:Configuration=Release,Platform=x64

Expand Down Expand Up @@ -95,14 +96,15 @@ before_build:

# prepare opus
- cd "%REPO_DIR%\lib\opus"
#- git checkout tags/%OPUS_GIT_TAG%
- git checkout tags/%OPUS_GIT_TAG%
- autogen.bat
- mkdir "_build" && cd "_build"
- mkdir "Win32" && cd "Win32"
- cmake %CMAKE_GENERATOR_X86% %CMAKE_COMMON_DEFINES% ..\..\
- cmake %CMAKE_GENERATOR_X86% %CMAKE_COMMON_DEFINES% %OPUS_CMAKE% ..\..\
- msbuild %OPUS_SOL_FILE% %OPUS_MSBUILD_CMD_X86%
- cd ..
- mkdir "x64" && cd "x64"
- cmake %CMAKE_GENERATOR_X64% %CMAKE_COMMON_DEFINES% ..\..\
- cmake %CMAKE_GENERATOR_X64% %CMAKE_COMMON_DEFINES% %OPUS_CMAKE% ..\..\
- msbuild %OPUS_SOL_FILE% %OPUS_MSBUILD_CMD_X64%
- cd ..

Expand Down
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
| Project | Version |
| ----------------------------------------------------------------- | --------------------- |
| [opus-tools][opus-tools-link], [(mirror)][opus-tools-mirror-link] | git master |
| [opus][opus-link], [(mirror)][opus-mirror-link] | git master |
| [opus][opus-link], [(mirror)][opus-mirror-link] | v1.5.1 |
| [libopusenc][libopusenc-link], [(mirror)][libopusenc-mirror-link] | git master |
| [opusfile][opusfile-link], [(mirror)][opusfile-mirror-link] | git master |
| [ogg][ogg-link], [(mirror)][ogg-mirror-link] | git master |
Expand Down

0 comments on commit 9db3af9

Please sign in to comment.