summaryrefslogtreecommitdiff
path: root/lib9p/CMakeLists.txt
blob: cd3156cab529b07a8c6dc986520625a9999b5f75 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# libcr/CMakeLists.txt - TODO
#
# Copyright (C) 2024  Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-Licence-Identifier: AGPL-3.0-or-later

add_library(lib9p INTERFACE)
target_include_directories(lib9p SYSTEM INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}/include)
target_sources(lib9p INTERFACE
	types.c
	9p.c
	srv.c
)
target_link_libraries(lib9p INTERFACE
	libcr_ipc
)
set_source_files_properties(types.c PROPERTIES COMPILE_FLAGS -O3)