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
parent 03de31972c
commit e54cdbbb43
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ jobs:
os: ubuntu-latest
install_dir: ~/portaudio
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
os: windows-latest
install_dir: C:\portaudio

View File

@ -1,6 +1,6 @@
# 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
# 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
# distributions the package is typically named `mingw-w64`.