summaryrefslogtreecommitdiff
path: root/libfmt/CMakeLists.txt
blob: 1b3a80f16ec4f93b22d2bc38d75981275d0aa507 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# libfmt/CMakeLists.txt - Support for pico-fmt
#
# Copyright (C) 2025  Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-License-Identifier: AGPL-3.0-or-later

add_library(libfmt INTERFACE)
target_include_directories(libfmt SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_sources(libfmt INTERFACE
	libmisc.c
	libobj.c
	quote.c
)
target_link_libraries(libfmt INTERFACE
	pico_fmt
	libmisc
	libobj
)