[settings]
os=Linux
arch=x86_64
compiler=clang
compiler.version=20
compiler.libcxx=libstdc++11
compiler.cppstd=20
compiler.cstd=17
compiler.runtime=static
build_type=Debug

[conf]
tools.cmake.cmaketoolchain:user_toolchain+={{profile_dir}}/Toolchains/ccache.cmake

tools.system.package_manager:mode=install
tools.system.package_manager:sudo=True

tools.build:exelinkflags=["-fuse-ld=mold"]
tools.build:sharedlinkflags=["-fuse-ld=mold"]

tools.cmake.cmaketoolchain:generator=Ninja

tools.build:compiler_executables={"c": "clang", "cpp": "clang++"}

[tool_requires]
!cmake/*: cmake/[>=4.2]

[options]
bin2cpp/*:build_tests=True
bin2cpp/*:coverage=True
