]> Repos - portaudio/commitdiff
CMake: move MinGW toolchain file to new cmake/toolchains directory
authorBe <be@mixxx.org>
Fri, 7 May 2021 03:06:22 +0000 (22:06 -0500)
committerPhil Burk <philburk@mobileer.com>
Thu, 12 Aug 2021 00:23:40 +0000 (17:23 -0700)
.github/workflows/cmake.yml
cmake/toolchains/i686-w64-mingw32.cmake [moved from cmake/i686-w64-mingw32.cmake with 88% similarity]

index db66912766e05d46b883ef9dbee8737d31d4f6ef..df5c80cd089961a8380a3af177997f3d910fccdc 100644 (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
similarity index 88%
rename from cmake/i686-w64-mingw32.cmake
rename to cmake/toolchains/i686-w64-mingw32.cmake
index 558c0bdbb6a3b117f77d55f9a5044392be086fd8..2a2c7bfc48c58de0c1291c788ad1717a8ea3df93 100644 (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`.