# CMakeLists.txt - Main per-platform build script for sbc-harness project # # Copyright (C) 2024 Luke T. Shumaker # SPDX-Licence-Identifier: AGPL-3.0-or-later cmake_minimum_required(VERSION 3.30) if (NOT PICO_PLATFORM) message(FATAL_ERROR "PICO_PLATFORM must be specified") endif() set(PICO_SDK_PATH "${CMAKE_SOURCE_DIR}/3rd-party/pico-sdk") include(pico_sdk_import.cmake) project(sbc_harness) pico_sdk_init() add_compile_options(-Wall -Wextra -Werror) add_subdirectory(libcr) add_subdirectory(libcr_ipc) add_subdirectory(libdhcp) add_subdirectory(libusb) add_subdirectory(libmisc) add_subdirectory(lib9p) add_subdirectory(cmd/sbc_harness) add_subdirectory(cmd/srv9p)