mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
a24ec53df2
This patch enables usage of Conan for cross-compiling Windows builds instead of MXE.
15 lines
335 B
Django/Jinja
15 lines
335 B
Django/Jinja
{% import 'base/cross-macro.j2' as cross -%}
|
|
include(base/cross-windows)
|
|
{% set target_host="i686-w64-mingw32" %}
|
|
|
|
[settings]
|
|
arch=x86
|
|
|
|
[conf]
|
|
{{ cross.generate_conf(target_host)}}
|
|
tools.build:cflags = ["-msse2"]
|
|
tools.build:cxxflags = ["-msse2"]
|
|
|
|
[env]
|
|
{{ cross.generate_env(target_host) }}
|
|
{{ cross.generate_env_win32(target_host) }} |