mirror of
https://git.suyu.dev/suyu/build-environments.git
synced 2025-12-24 00:05:09 +01:00
Add linux-mingw update for conan cross compiling as well
This commit is contained in:
parent
58cb2114b5
commit
b0e1a8e193
2 changed files with 47 additions and 7 deletions
26
linux-mingw/default
Normal file
26
linux-mingw/default
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
toolchain=/usr/x86_64-w64-mingw32
|
||||
target_host=x86_64-w64-mingw32
|
||||
cc_compiler=gcc
|
||||
cxx_compiler=g++
|
||||
|
||||
[env]
|
||||
CONAN_CMAKE_FIND_ROOT_PATH=$toolchain
|
||||
CHOST=$target_host
|
||||
AR=$target_host-ar
|
||||
AS=$target_host-as
|
||||
RANLIB=$target_host-ranlib
|
||||
CC=$target_host-$cc_compiler
|
||||
CXX=$target_host-$cxx_compiler
|
||||
STRIP=$target_host-strip
|
||||
RC=$target_host-windres
|
||||
|
||||
[settings]
|
||||
# We are cross-building to Windows
|
||||
os=Windows
|
||||
arch=x86_64
|
||||
compiler=gcc
|
||||
|
||||
# Adjust to the gcc version of your MinGW package
|
||||
compiler.version=9
|
||||
compiler.libcxx=libstdc++11
|
||||
build_type=Release
|
||||
Loading…
Add table
Add a link
Reference in a new issue