Consolidate/clean up meson and cmake toolchain files
This commit is contained in:
parent
782f731350
commit
1f74f0a60a
8 changed files with 30 additions and 18 deletions
|
@ -2,7 +2,8 @@
|
||||||
c = 'x86_64-ffbuild-linux-gnu-gcc'
|
c = 'x86_64-ffbuild-linux-gnu-gcc'
|
||||||
cpp = 'x86_64-ffbuild-linux-gnu-g++'
|
cpp = 'x86_64-ffbuild-linux-gnu-g++'
|
||||||
ld = 'x86_64-ffbuild-linux-gnu-ld'
|
ld = 'x86_64-ffbuild-linux-gnu-ld'
|
||||||
ar = 'x86_64-ffbuild-linux-gnu-ar'
|
ar = 'x86_64-ffbuild-linux-gnu-gcc-ar'
|
||||||
|
ranlib = 'x86_64-ffbuild-linux-gnu-gcc-ranlib'
|
||||||
strip = 'x86_64-ffbuild-linux-gnu-strip'
|
strip = 'x86_64-ffbuild-linux-gnu-strip'
|
||||||
|
|
||||||
[host_machine]
|
[host_machine]
|
||||||
|
|
|
@ -5,8 +5,8 @@ set(triple x86_64-ffbuild-linux-gnu)
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER ${triple}-gcc)
|
set(CMAKE_C_COMPILER ${triple}-gcc)
|
||||||
set(CMAKE_CXX_COMPILER ${triple}-g++)
|
set(CMAKE_CXX_COMPILER ${triple}-g++)
|
||||||
set(CMAKE_RANLIB ${triple}-ranlib)
|
set(CMAKE_RANLIB ${triple}-gcc-ranlib)
|
||||||
set(CMAKE_AR ${triple}-ar)
|
set(CMAKE_AR ${triple}-gcc-ar)
|
||||||
|
|
||||||
set(CMAKE_SYSROOT /opt/ct-ng/${triple}/sysroot)
|
set(CMAKE_SYSROOT /opt/ct-ng/${triple}/sysroot)
|
||||||
set(CMAKE_FIND_ROOT_PATH /opt/ct-ng /opt/ct-ng/${triple}/sysroot /opt/ffbuild)
|
set(CMAKE_FIND_ROOT_PATH /opt/ct-ng /opt/ct-ng/${triple}/sysroot /opt/ffbuild)
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
c = 'aarch64-ffbuild-linux-gnu-gcc'
|
c = 'aarch64-ffbuild-linux-gnu-gcc'
|
||||||
cpp = 'aarch64-ffbuild-linux-gnu-g++'
|
cpp = 'aarch64-ffbuild-linux-gnu-g++'
|
||||||
ld = 'aarch64-ffbuild-linux-gnu-ld'
|
ld = 'aarch64-ffbuild-linux-gnu-ld'
|
||||||
ar = 'aarch64-ffbuild-linux-gnu-ar'
|
ar = 'aarch64-ffbuild-linux-gnu-gcc-ar'
|
||||||
|
ranlib = 'x86_64-ffbuild-linux-gnu-gcc-ranlib'
|
||||||
strip = 'aarch64-ffbuild-linux-gnu-strip'
|
strip = 'aarch64-ffbuild-linux-gnu-strip'
|
||||||
|
|
||||||
[host_machine]
|
[host_machine]
|
||||||
|
|
|
@ -5,8 +5,8 @@ set(triple aarch64-ffbuild-linux-gnu)
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER ${triple}-gcc)
|
set(CMAKE_C_COMPILER ${triple}-gcc)
|
||||||
set(CMAKE_CXX_COMPILER ${triple}-g++)
|
set(CMAKE_CXX_COMPILER ${triple}-g++)
|
||||||
set(CMAKE_RANLIB ${triple}-ranlib)
|
set(CMAKE_RANLIB ${triple}-gcc-ranlib)
|
||||||
set(CMAKE_AR ${triple}-ar)
|
set(CMAKE_AR ${triple}-gcc-ar)
|
||||||
|
|
||||||
set(CMAKE_SYSROOT /opt/ct-ng/${triple}/sysroot)
|
set(CMAKE_SYSROOT /opt/ct-ng/${triple}/sysroot)
|
||||||
set(CMAKE_FIND_ROOT_PATH /opt/ct-ng /opt/ct-ng/${triple}/sysroot /opt/ffbuild)
|
set(CMAKE_FIND_ROOT_PATH /opt/ct-ng /opt/ct-ng/${triple}/sysroot /opt/ffbuild)
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[binaries]
|
[binaries]
|
||||||
c = 'i686-w64-mingw32-gcc'
|
c = 'i686-w64-mingw32-gcc'
|
||||||
cpp = 'i686-w64-mingw32-g++'
|
cpp = 'i686-w64-mingw32-g++'
|
||||||
ar = 'i686-w64-mingw32-ar'
|
ar = 'i686-w64-mingw32-gcc-ar'
|
||||||
|
ranlib = 'i686-w64-mingw32-gcc-ranlib'
|
||||||
strip = 'i686-w64-mingw32-strip'
|
strip = 'i686-w64-mingw32-strip'
|
||||||
windres = 'i686-w64-mingw32-windres'
|
windres = 'i686-w64-mingw32-windres'
|
||||||
exe_wrapper = ['wine']
|
exe_wrapper = ['wine']
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
set(CMAKE_SYSTEM_NAME Windows)
|
set(CMAKE_SYSTEM_NAME Windows)
|
||||||
set(CMAKE_SYSTEM_PROCESSOR i686)
|
set(CMAKE_SYSTEM_PROCESSOR i686)
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER i686-w64-mingw32-gcc)
|
set(triple i686-w64-mingw32)
|
||||||
set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++)
|
|
||||||
set(CMAKE_RC_COMPILER i686-w64-mingw32-windres)
|
|
||||||
set(CMAKE_RANLIB i686-w64-mingw32-ranlib)
|
|
||||||
|
|
||||||
set(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32 /opt/ffbuild)
|
set(CMAKE_C_COMPILER ${triple}-gcc)
|
||||||
|
set(CMAKE_CXX_COMPILER ${triple}-g++)
|
||||||
|
set(CMAKE_RC_COMPILER ${triple}-windres)
|
||||||
|
set(CMAKE_RANLIB ${triple}-gcc-ranlib)
|
||||||
|
set(CMAKE_AR ${triple}-gcc-ar)
|
||||||
|
|
||||||
|
set(CMAKE_SYSROOT /opt/ct-ng/${triple}/sysroot)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH /opt/ct-ng /opt/ct-ng/${triple}/sysroot /opt/ffbuild)
|
||||||
|
|
||||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
[binaries]
|
[binaries]
|
||||||
c = 'x86_64-w64-mingw32-gcc'
|
c = 'x86_64-w64-mingw32-gcc'
|
||||||
cpp = 'x86_64-w64-mingw32-g++'
|
cpp = 'x86_64-w64-mingw32-g++'
|
||||||
ar = 'x86_64-w64-mingw32-ar'
|
ar = 'x86_64-w64-mingw32-gcc-ar'
|
||||||
|
ranlib = 'x86_64-w64-mingw32-gcc-ranlib'
|
||||||
strip = 'x86_64-w64-mingw32-strip'
|
strip = 'x86_64-w64-mingw32-strip'
|
||||||
windres = 'x86_64-w64-mingw32-windres'
|
windres = 'x86_64-w64-mingw32-windres'
|
||||||
exe_wrapper = ['wine']
|
exe_wrapper = ['wine']
|
||||||
|
|
|
@ -1,12 +1,16 @@
|
||||||
set(CMAKE_SYSTEM_NAME Windows)
|
set(CMAKE_SYSTEM_NAME Windows)
|
||||||
set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
||||||
|
|
||||||
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
|
set(triple x86_64-w64-mingw32)
|
||||||
set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++)
|
|
||||||
set(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres)
|
|
||||||
set(CMAKE_RANLIB x86_64-w64-mingw32-ranlib)
|
|
||||||
|
|
||||||
set(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32 /opt/ffbuild)
|
set(CMAKE_C_COMPILER ${triple}-gcc)
|
||||||
|
set(CMAKE_CXX_COMPILER ${triple}-g++)
|
||||||
|
set(CMAKE_RC_COMPILER ${triple}-windres)
|
||||||
|
set(CMAKE_RANLIB ${triple}-gcc-ranlib)
|
||||||
|
set(CMAKE_AR ${triple}-gcc-ar)
|
||||||
|
|
||||||
|
set(CMAKE_SYSROOT /opt/ct-ng/${triple}/sysroot)
|
||||||
|
set(CMAKE_FIND_ROOT_PATH /opt/ct-ng /opt/ct-ng/${triple}/sysroot /opt/ffbuild)
|
||||||
|
|
||||||
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
|
||||||
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
|
||||||
|
|
Loading…
Reference in a new issue