forked from Da-Vinci-Engineering/openAUTOSAR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
28 lines (23 loc) · 874 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
#********************************************************************
# (C) DaVinci Engineering GmbH 2022
#*******************************************************************/
cmake_minimum_required (VERSION 3.7.2)
project(openAUTOSAR)
message("CMAKE_SYSTEM_NAME: ${CMAKE_SYSTEM_NAME}")
if(CMAKE_CROSSCOMPILING)
set (CMAKE_C_FLAGS "Options For Cross Compiling")
elseif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")
set (CMAKE_C_FLAGS "-g -O0 -c -std=gnu99 -Wall")
add_subdirectory(common)
add_subdirectory(debug)
add_subdirectory(diagnostic)
add_subdirectory(rte)
add_subdirectory(communication)
add_subdirectory(memory)
add_subdirectory(iohwabs)
add_subdirectory(system)
#add_subdirectory(arch/x64/drivers)
#add_subdirectory(arch/arm/arm_cm3/scripts)
#add_subdirectory(examples)
add_subdirectory(boards/linuxOs)
endif()