-
Notifications
You must be signed in to change notification settings - Fork 12
/
CMakeLists.txt
32 lines (28 loc) · 1.19 KB
/
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
28
29
30
31
32
cmake_minimum_required(VERSION 3.21)
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/freertos)
add_subdirectory(kernel/nortos)
add_subdirectory(kernel/tirtos7/packages/ti/sysbios)
add_subdirectory(source/third_party/ecc)
add_subdirectory(source/third_party/fatfs)
add_subdirectory(source/third_party/psa_crypto/library)
add_subdirectory(source/third_party/spiffs)
add_subdirectory(source/ti/devices/cc13x1_cc26x1)
add_subdirectory(source/ti/devices/cc13x2_cc26x2)
add_subdirectory(source/ti/devices/cc13x2x7_cc26x2x7)
add_subdirectory(source/ti/devices/cc13x4_cc26x4)
add_subdirectory(source/ti/display)
add_subdirectory(source/ti/drivers)
add_subdirectory(source/ti/log)
add_subdirectory(source/ti/utils)
add_subdirectory(source/ti/utils/json)