blob: fc79f034cfdc35f32878442840971dd72a0693b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
# lib9p/tests/test_server/CMakeLists.txt - Build script for test_server executable
#
# Copyright (C) 2024-2025 Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-License-Identifier: AGPL-3.0-or-later
if (PICO_PLATFORM STREQUAL "host")
add_executable(test_server
main.c
fs_flush.c
fs_shutdown.c
)
target_include_directories(test_server PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/config)
target_include_directories(test_server PRIVATE ${CMAKE_CURRENT_BINARY_DIR}) # for static.h
target_link_libraries(test_server
libcr
libcr_ipc
libmisc
lib9p_util
libhw_cr
)
target_embed_sources(test_server test_server static.h
static/README.md
static/Documentation/x.txt
)
endif()
|