Anas Nashif | 3ae5262 | 2019-04-06 09:08:09 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | |
Daniel Leung | e38fc6d | 2023-08-11 13:40:05 -0700 | [diff] [blame] | 3 | # FIXME: SHADOW_VARS: Remove this once we have enabled -Wshadow globally. |
| 4 | add_compile_options($<TARGET_PROPERTY:compiler,warning_shadow_variables>) |
| 5 | |
Anas Nashif | e6885a4 | 2023-08-16 13:04:12 +0000 | [diff] [blame] | 6 | add_subdirectory(crc) |
Alberto Escolar Piedras | 23ad117 | 2023-12-28 14:25:54 +0100 | [diff] [blame] | 7 | if(NOT CONFIG_EXTERNAL_LIBC) |
Anas Nashif | 6daf046 | 2017-12-14 13:44:49 -0500 | [diff] [blame] | 8 | add_subdirectory(libc) |
Alberto Escolar Piedras | c05a483 | 2023-12-28 14:29:27 +0100 | [diff] [blame] | 9 | endif() |
| 10 | if(NOT CONFIG_NATIVE_LIBC) |
Christopher Friedt | 6342aa3 | 2023-12-28 01:24:13 -0500 | [diff] [blame] | 11 | add_subdirectory(posix) |
Alberto Escolar Piedras | 23ad117 | 2023-12-28 14:25:54 +0100 | [diff] [blame] | 12 | endif() |
Stephanos Ioannidis | 4a64bfe | 2022-12-09 06:16:44 +0900 | [diff] [blame] | 13 | add_subdirectory_ifdef(CONFIG_CPP cpp) |
Joshua Lilly | 69966dd | 2023-02-24 16:09:42 -0500 | [diff] [blame] | 14 | add_subdirectory(hash) |
Anas Nashif | 6cb5888 | 2023-11-17 18:43:30 -0500 | [diff] [blame] | 15 | add_subdirectory(heap) |
Anas Nashif | d4c881d | 2023-11-18 04:24:45 -0500 | [diff] [blame] | 16 | add_subdirectory(mem_blocks) |
Anas Nashif | db92e5c | 2019-01-19 06:57:38 -0500 | [diff] [blame] | 17 | add_subdirectory(os) |
Anas Nashif | 0b999c0 | 2023-12-20 08:07:43 -0500 | [diff] [blame] | 18 | add_subdirectory(utils) |
Sam Hurst | cb47855 | 2021-08-28 21:44:17 -0700 | [diff] [blame] | 19 | add_subdirectory_ifdef(CONFIG_SMF smf) |
Arnaud Pouliquen | 25ec739 | 2019-09-20 11:41:38 +0200 | [diff] [blame] | 20 | add_subdirectory_ifdef(CONFIG_OPENAMP open-amp) |
Najumon Ba | f25dfcf | 2023-03-30 12:46:11 +0530 | [diff] [blame] | 21 | add_subdirectory_ifdef(CONFIG_ACPI acpi) |