2019-06-02 03:33:40 +08:00
|
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
|
|
|
2019-02-03 07:02:01 +08:00
|
|
|
cmake_minimum_required(VERSION 3.10)
|
|
|
|
|
|
|
|
if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
|
|
|
|
message(FATAL_ERROR
|
|
|
|
" In-source builds are not supported.\n"
|
|
|
|
" Please remove CMakeCache.txt and the CMakeFiles directory.\n"
|
|
|
|
" Then specify a build directory. Example: cmake -Bbuild ..."
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
project(SOF_TOOLS C)
|
|
|
|
|
|
|
|
set(SOF_ROOT_SOURCE_DIRECTORY "${PROJECT_SOURCE_DIR}/..")
|
2019-02-03 07:03:40 +08:00
|
|
|
|
2020-03-10 22:18:03 +08:00
|
|
|
add_subdirectory(probes)
|
2019-02-03 07:03:40 +08:00
|
|
|
add_subdirectory(logger)
|
2019-06-03 22:44:28 +08:00
|
|
|
add_subdirectory(ctl)
|
2019-02-03 08:09:01 +08:00
|
|
|
add_subdirectory(topology)
|
2019-02-03 10:08:24 +08:00
|
|
|
add_subdirectory(test)
|