summaryrefslogtreecommitdiff
path: root/libfmt/CMakeLists.txt
diff options
context:
space:
mode:
authorLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-02 20:44:59 -0600
committerLuke T. Shumaker <lukeshu@lukeshu.com>2025-04-02 20:44:59 -0600
commitff88c4cc9bfdc91c3af390ab6a7588f5a8ade40a (patch)
treeae18e6d4576fa594be94e8278877fbdedfa1d4ba /libfmt/CMakeLists.txt
parent13b8cafb7e28784f037ecd24876c225ddcf48d76 (diff)
parent8cc87f8c1f25c9d3fec00561237891650a91b47a (diff)
Merge branch 'lukeshu/9p-logging'
Diffstat (limited to 'libfmt/CMakeLists.txt')
-rw-r--r--libfmt/CMakeLists.txt17
1 files changed, 17 insertions, 0 deletions
diff --git a/libfmt/CMakeLists.txt b/libfmt/CMakeLists.txt
new file mode 100644
index 0000000..1b3a80f
--- /dev/null
+++ b/libfmt/CMakeLists.txt
@@ -0,0 +1,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
+)