-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault
More file actions
30 lines (28 loc) · 1.4 KB
/
Copy pathdefault
File metadata and controls
30 lines (28 loc) · 1.4 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
{% set compiler, compiler_version, compiler_exe = detect_api.detect_default_compiler() %}
[settings]
arch={{ detect_api.detect_arch() }}
os={{ detect_api.detect_os() }}
compiler={{ compiler }}
compiler.version={{ detect_api.default_compiler_version(compiler, compiler_version) }}
compiler.cppstd=23
{% if compiler == "msvc" %}
compiler.runtime=dynamic
{% else %}
compiler.libcxx={{ detect_api.detect_libcxx(compiler, compiler_version, compiler_exe) }}
{% endif %}
build_type=Release
# Dependency option values, not recipe constants (per Conan's guidelines: default_options in
# a recipe is for the recipe's own options; a dependency's options belong in the profile that
# consumes it). use_std_fmt=False keeps spdlog on its bundled fmt to exercise the dep graph.
[options]
spdlog/*:header_only=False
spdlog/*:shared=False
spdlog/*:use_std_fmt=False
# Satisfy the cmake build tool (declared in conanfile.py) from the system CMake instead of
# downloading the Conan package. Everyone building this project already has CMake on PATH for
# `cmake --workflow`, so this avoids a redundant download. The version is the project's
# documented floor (also >= gtest's own cmake requirement), which unifies the whole build
# graph onto one platform node. Conan does not verify the PATH cmake's version against this;
# it trusts that whatever is on PATH satisfies the range. cmake_minimum_required enforces it.
[platform_tool_requires]
cmake/3.29