: 1
name: fmt
version: 12.1.0+1
type: lib
language: c++
project: fmt
summary: Formatting C++ library used as alternative to (s)printf and iostreams
license: MIT

description-file: README.md
changes-file: ChangeLog.md
url: https://fmt.dev/
src-url: https://github.com/fmtlib/fmt/
email: victor.zverovich@gmail.com

package-description-file: PACKAGE-README.md
package-url: https://github.com/build2-packaging/fmt/
package-email: packaging@build2.org

tests: fmt-tests == $

depends: * build2 >= 0.17.0
depends: * bpkg >= 0.17.0

module-builds: default experimental : &( +gcc-16+ +clang-17+ +msvc )
module-builds: -bindist
module-build-config:
\
config.cxx.features.modules=true
;
Enable support for both the {fmt} headers and its C++ module.
\

module-only-builds: default experimental : &( +gcc-16+ +clang-17+ +msvc )
module-only-builds: -bindist
module-only-build-config:
\
config.cxx.features.modules=true
config.fmt.module_only=true
;
Only use the {fmt} C++ module.
\
