playbook/templates/cpp/conan/profiles/linux-x86_64-clang

25 lines
649 B
Plaintext

# Linux (Clang)
#
# Profile naming convention (suggested):
# linux-<arch>-clang<major>
# If the repo only supports one clang version, you may omit the <major> suffix.
[settings]
os=Linux
arch=x86_64
compiler=clang
compiler.version=20
compiler.libcxx=libc++
compiler.cppstd=23
build_type=Release
[conf]
# Prefer pinning the exact compiler executables to avoid PATH drift.
tools.build:compiler_executables={"c": "/usr/bin/clang", "cpp": "/usr/bin/clang++"}
tools.cmake.cmaketoolchain:generator=Ninja
# Keep Conan's cmake_layout output stable and predictable.
tools.cmake.cmake_layout:build_folder=.
tools.cmake.cmake_layout:build_folder_vars=[]