File: README.Debian

package info (click to toggle)
fmtlib 9.1.0%2Bds1-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,720 kB
  • sloc: cpp: 19,541; ansic: 1,800; python: 140; sh: 53; makefile: 24
file content (17 lines) | stat: -rw-r--r-- 473 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Usage with CMake on Debian systems
==================================

Starting with 4.0.0+ds-1, the Debian package provides CMake config files
for downstream use.

To use fmtlib in your CMake project, include 'fmt' package and link with
'fmt::fmt' target, e.g.:

-------------------8<-------------------
project(libfmt-client)

find_package(fmt REQUIRED CONFIG)

add_executable(client a.cpp)
target_link_libraries(client fmt::fmt)
------------------->8-------------------