You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

37 regels
1.2 KiB

  1. REM Build using Visual Studio 2019 on Windows
  2. REM Additional tools needed: git, cmake and ninja
  3. REM Build zlib
  4. git clone -b v1.2.13 https://github.com/madler/zlib
  5. cd zlib
  6. mkdir build
  7. cd build
  8. cmake -G Ninja -DCMAKE_C_COMPILER="cl.exe" -DMSVC_TOOLSET_VERSION=190 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../winpath ..
  9. ninja install
  10. cd ../../
  11. REM Build libpng
  12. git clone -b v1.6.39 https://github.com/glennrp/libpng
  13. cd libpng
  14. mkdir build
  15. cd build
  16. cmake -G Ninja -DCMAKE_C_COMPILER="cl.exe" -DMSVC_TOOLSET_VERSION=190 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../winpath ..
  17. ninja install
  18. cd ../..
  19. REM Build libsndfile - Could build Vorbis, FLAC and Opus first for extra support
  20. git clone -b 1.1.0 https://github.com/libsndfile/libsndfile
  21. cd libsndfile
  22. mkdir build
  23. cd build
  24. cmake -G Ninja -DCMAKE_C_COMPILER="cl.exe" -DMSVC_TOOLSET_VERSION=190 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../../winpath ..
  25. ninja install
  26. cd ../..
  27. REM Build aptdec
  28. mkdir winbuild
  29. cd winbuild
  30. cmake -G Ninja -DCMAKE_C_COMPILER="cl.exe" -DMSVC_TOOLSET_VERSION=190 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=../winpath ..
  31. ninja install
  32. cd ..