[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=Release

[conf]
tools.cmake.cmaketoolchain:extra_variables={'CMAKE_CXX_COMPILER_LAUNCHER': 'ccache', 'CMAKE_C_COMPILER_LAUNCHER': 'ccache'}

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

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

tools.build:cflags=["-flto"]
tools.build:cxxflags=["-flto"]

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

tools.cmake.cmaketoolchain:generator=Ninja

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

[options]
Bigfoot/*:build_tests=True