File: README.Debian

package info (click to toggle)
fmtlib 5.2.1%2Bds-2
  • links: PTS
  • area: main
  • in suites: buster
  • size: 1,268 kB
  • sloc: cpp: 10,611; ansic: 348; python: 88; sh: 13; makefile: 10
file content (18 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Usage with CMake on Debian systems
==================================

Starting with 4.0.0+ds-1, the Debian package provides CMake config files
for downstream use. Header-only configuration is not provided, however.

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-------------------