summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
blob: e55ec512632e86d834ff8908c27f7d3a7f2b25b5 (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
# CMakeLists.txt - Main per-output build script for sbc-harness project
#
# Copyright (C) 2024  Luke T. Shumaker <lukeshu@lukeshu.com>
# SPDX-Licence-Identifier: AGPL-3.0-or-later

cmake_minimum_required(VERSION 3.30)

if (_UBUILD_USE_PICO_SDK)
	set(PICO_SDK_PATH "${CMAKE_SOURCE_DIR}/3rd-party/pico-sdk")
	include(pico_sdk_import.cmake)
endif()

project(sbc_harness)

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/${_UBUILD_CMD})