forked from mirror/conan-config
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
673 B
20 lines
673 B
include(default) |
|
|
|
[build_requires] |
|
|
|
[settings] |
|
os='{{ {'Darwin': 'Macos'}.get(platform.system(), platform.system()) }}' |
|
os_build='{{ {'Darwin': 'Macos'}.get(platform.system(), platform.system()) }}' |
|
compiler.cppstd=17 |
|
{% if compiler == 'gcc' %}compiler.libcxx=libstdc++11 |
|
{% elif compiler == 'apple-clang' %}compiler.libcxx=libc++ |
|
{% elif compiler == 'Visual Studio' %}compiler.toolset=v142 |
|
{% endif %} |
|
[options] |
|
|
|
[env] |
|
|
|
[conf] |
|
tools.cmake.cmaketoolchain:find_package_prefer_config=True |
|
{% if platform.system() == 'Windows' %}tools.env.virtualenv:powershell=True{% endif %} |
|
{% if compiler == 'Visual Studio' %}tools.microsoft.msbuild:vs_version=compiler.version{% endif %}
|
|
|