-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
37 lines (26 loc) · 1003 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
28
29
30
31
32
33
34
35
36
37
set (CMAKE_CXX_STANDARD 11)
cmake_minimum_required (VERSION 3.6)
project(ccRTOS)
add_definitions(${CPU_FLAGS} ${COMPILER_FLAGS})
include_directories(
include
)
add_subdirectory(cpputest)
enable_testing()
add_subdirectory(test)
message("
-------------------------------------------------------
TOOLCHAIN:
Current compiler options:
CC: ${CMAKE_C_COMPILER}
CXX: ${CMAKE_CXX_COMPILER}
ASM: ${CMAKE_ASM_COMPILER}
SYSROOT: ${CMAKE_SYSROOT}
FIND_ROOT_PATH: ${CMAKE_FIND_ROOT_PATH}
SYSTEM: ${CMAKE_SYSTEM}
NAME: ${CMAKE_SYSTEM_NAME}
PROCESSOR: ${CMAKE_SYSTEM_PROCESSOR}
FLAGS: ${CPU_FLAGS}
${COMPILER_FLAGS}
-------------------------------------------------------
")