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
|
@ -1,12 +1,16 @@
|
|||
set(CMAKE_SYSTEM_NAME Windows)
|
||||
set(CMAKE_SYSTEM_PROCESSOR x86_64)
|
||||
|
||||
set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc)
|
||||
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(triple x86_64-w64-mingw32)
|
||||
|
||||
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_LIBRARY ONLY)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue