-
Notifications
You must be signed in to change notification settings - Fork 7
/
CMakeLists.txt
27 lines (23 loc) · 975 Bytes
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 3.21)
set(FREERTOS_INSTALL_DIR $ENV{FREERTOS_INSTALL_DIR})
set(TICLANG_ARMCOMPILER $ENV{TICLANG_ARMCOMPILER})
set(IAR_ARMCOMPILER $ENV{IAR_ARMCOMPILER})
set(GCC_ARMCOMPILER $ENV{GCC_ARMCOMPILER})
# Only look in local folders for components and platforms
set(CMAKE_ONLY_WRAPPER_COMPONENTS 1)
set(CMAKE_ONLY_LOCAL_PLATFORMS 1)
# Setup the CMake build environment
set(CMAKE_COMMON_INSTALL_DIR ${CMAKE_SOURCE_DIR})
include(source/cmake/scripts/cmake-common/Configure.cmake)
project(coresdk LANGUAGES)
# Include directories that participate in the library build
add_subdirectory(kernel/nortos)
add_subdirectory(kernel/freertos)
add_subdirectory(kernel/tirtos7/packages/ti/sysbios)
add_subdirectory(source/ti/display)
add_subdirectory(source/ti/drivers)
add_subdirectory(source/ti/utils)
add_subdirectory(source/ti/utils/json)
add_subdirectory(source/ti/log)
add_subdirectory(source/third_party/fatfs)
add_subdirectory(source/third_party/spiffs)