CMake: move MinGW toolchain file to new cmake/toolchains directory

This commit is contained in:
Be 2021-05-06 22:06:22 -05:00 committed by Phil Burk
commit e54cdbbb43
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ jobs:
os: ubuntu-latest os: ubuntu-latest
install_dir: ~/portaudio install_dir: ~/portaudio
dependencies_extras: mingw-w64 dependencies_extras: mingw-w64
cmake_extras: -DCMAKE_TOOLCHAIN_FILE=cmake/i686-w64-mingw32.cmake cmake_extras: -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/i686-w64-mingw32.cmake
- name: Windows - name: Windows
os: windows-latest os: windows-latest
install_dir: C:\portaudio install_dir: C:\portaudio

View file

@ -1,6 +1,6 @@
# CMake Toolchain file for cross-compiling PortAudio to i686-w64-mingw32 # CMake Toolchain file for cross-compiling PortAudio to i686-w64-mingw32
# Inspired from: https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/cross_compiling/Mingw # Inspired from: https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/cross_compiling/Mingw
# Example usage: $ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/i686-w64-mingw32.cmake . # Example usage: $ cmake -DCMAKE_TOOLCHAIN_FILE=cmake/toolchains/i686-w64-mingw32.cmake .
# i686-w64-mingw32 needs to be installed for this to work. On Debian-based # i686-w64-mingw32 needs to be installed for this to work. On Debian-based
# distributions the package is typically named `mingw-w64`. # distributions the package is typically named `mingw-w64`.