From e5e15c04bc58c34906e6d7cfcbad68d1a5617563 Mon Sep 17 00:00:00 2001 From: "Luke T. Shumaker" Date: Fri, 27 Sep 2024 17:25:36 -0600 Subject: wip --- CMakeLists.txt | 32 ++++++++++++-------------------- 1 file changed, 12 insertions(+), 20 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 35a63ad..73c6b8f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -# CMAkeLists.txt - Main build script for sbc-harness +# CMakeLists.txt - Main build script for sbc-harness project # # Copyright (C) 2024 Luke T. Shumaker # SPDX-Licence-Identifier: AGPL-3.0-or-later @@ -12,23 +12,15 @@ project(sbc_harness) pico_sdk_init() -add_executable(sbc_harness) -target_sources(sbc_harness PUBLIC - main.c - coroutine.c - usb_common.c - usb_keyboard.c +add_custom_target(generate + COMMENT Create generated files that are included in the source distribution ) -target_include_directories(sbc_harness PUBLIC ${CMAKE_CURRENT_LIST_DIR}) # So TinyUSB can find tusb_config.h -target_link_libraries(sbc_harness - pico_stdlib - pico_unique_id - tinyusb_device - tinyusb_board -) -pico_enable_stdio_usb(sbc_harness 0) -pico_enable_stdio_uart(sbc_harness 1) -pico_enable_stdio_semihosting(sbc_harness 0) -pico_enable_stdio_rtt(sbc_harness 0) -pico_add_extra_outputs(sbc_harness) # create map/bin/hex/uf2 file in addition to ELF. -pico_set_program_url(sbc_harness "https://git.lukeshu.com/sbc-harness") + +add_subdirectory(libcr) +add_subdirectory(libcr_ipc) +add_subdirectory(libusb) +add_subdirectory(libnetio) +add_subdirectory(lib9p) + +add_subdirectory(cmd/sbc_harness) +add_subdirectory(cmd/srv9p) -- cgit v1.2.3-2-g168b