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.
24 lines
597 B
24 lines
597 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=20 |
|
{% 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 compiler == "Visual Studio" %} |
|
tools.microsoft.msbuild:vs_version=compiler.version |
|
{% endif %}
|
|
|