fmt is a Native C++ Module port of fmt, A modern formatting library, Performance regressions up %15 percent are expected in release builds without lto due to code structure changes, mainly due the inline keyword. Regressions are expected to be around %4 in release builds with lto enabled.
Project is built using CMake/Ninja and packaged via CPS. CMake 4.4 and later is required.
Build using cmake, and consume via CPS by pointing to CMAKE_INSTALL_PREFIX via CMAKE_PREFIX_PATH
find_package(fmt)
target_link_libraries($PROJECT PRIVATE fmt::cxx_module)
target_link_libraries($PROJECT PRIVATE fmt::c_bindings)