File tree Expand file tree Collapse file tree 8 files changed +106
-27
lines changed Expand file tree Collapse file tree 8 files changed +106
-27
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,12 @@ add_library(mbed-storage-littlefs INTERFACE)
18
18
add_library (mbed-storage-fat INTERFACE )
19
19
20
20
add_library (mbed-storage-kvstore INTERFACE )
21
+ add_library (mbed-storage-tdbstore INTERFACE )
22
+ add_library (mbed-storage-filesystemstore INTERFACE )
23
+ add_library (mbed-storage-securestore INTERFACE )
24
+ add_library (mbed-storage-kv-config INTERFACE )
25
+ add_library (mbed-storage-direct-access-devicekey INTERFACE )
26
+ add_library (mbed-storage-kv-global-api INTERFACE )
21
27
22
28
23
29
add_subdirectory (blockdevice )
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- add_subdirectory (direct_access_devicekey )
5
- add_subdirectory (kv_config )
4
+ add_subdirectory (tdbstore )
5
+ add_subdirectory (filesystemstore )
6
6
add_subdirectory (securestore )
7
+ add_subdirectory (kv_config )
8
+ add_subdirectory (direct_access_devicekey )
9
+ add_subdirectory (kvstore_global_api )
7
10
8
11
target_include_directories (mbed-storage-kvstore
9
12
INTERFACE
10
13
.
11
14
./include
12
15
./include/kvstore
13
16
)
14
-
15
- target_sources (mbed-storage-kvstore
16
- INTERFACE
17
- source /FileSystemStore.cpp
18
- source /KVMap.cpp
19
- source /TDBStore.cpp
20
- source /kvstore_global_api.cpp
21
- )
22
-
23
- target_link_libraries (mbed-storage-kvstore
24
- INTERFACE
25
- mbed-device_key
26
- mbed-storage-blockdevice
27
- mbed-storage-filesystem
28
- mbed-storage-fat
29
- mbed-storage-littlefs
30
- mbed-storage-flashiap
31
- mbed-storage-sd
32
- )
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- target_include_directories (mbed-storage-kvstore
4
+ target_include_directories (mbed-storage-direct-access-devicekey
5
5
INTERFACE
6
6
.
7
7
./include
8
8
./include/direct_access_devicekey
9
9
)
10
10
11
- target_sources (mbed-storage-kvstore
11
+ target_sources (mbed-storage-direct-access-devicekey
12
12
INTERFACE
13
13
source /DirectAccessDevicekey.cpp
14
14
)
15
+
16
+ target_link_libraries (mbed-storage-direct-access-devicekey
17
+ INTERFACE
18
+ mbed-storage-kvstore
19
+ mbed-storage-kv-config
20
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ target_include_directories (mbed-storage-filesystemstore
5
+ INTERFACE
6
+ .
7
+ ./include
8
+ ./include/filesystemstore
9
+ )
10
+
11
+ target_sources (mbed-storage-filesystemstore
12
+ INTERFACE
13
+ source /FileSystemStore.cpp
14
+ )
15
+
16
+ target_link_libraries (mbed-storage-filesystemstore
17
+ INTERFACE
18
+ mbed-storage-kvstore
19
+ mbed-storage-filesystem
20
+ mbed-storage-kv-config
21
+ )
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- target_include_directories (mbed-storage-kvstore
4
+ target_include_directories (mbed-storage-kv-config
5
5
INTERFACE
6
6
.
7
7
./include
8
8
./include/kv_config
9
9
)
10
10
11
- target_sources (mbed-storage-kvstore
11
+ target_sources (mbed-storage-kv-config
12
12
INTERFACE
13
13
source /kv_config.cpp
14
14
)
15
+
16
+ target_link_libraries (mbed-storage-kv-config
17
+ INTERFACE
18
+ mbed-storage-kvstore
19
+ mbed-storage-blockdevice
20
+ mbed-storage-tdbstore
21
+ mbed-storage-filesystemstore
22
+ mbed-storage-securestore
23
+ mbed-storage-littlefs
24
+ mbed-storage-fat
25
+ mbed-storage-flashiap
26
+ mbed-storage-sd
27
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ target_include_directories (mbed-storage-kv-global-api
5
+ INTERFACE
6
+ .
7
+ ./include
8
+ ./include/kvstore_global_api
9
+ )
10
+
11
+ target_sources (mbed-storage-kv-global-api
12
+ INTERFACE
13
+ source /KVMap.cpp
14
+ source /kvstore_global_api.cpp
15
+ )
16
+
17
+ target_link_libraries (mbed-storage-kv-global-api
18
+ INTERFACE
19
+ mbed-storage-kvstore
20
+ mbed-storage-kv-config
21
+ mbed-storage-blockdevice
22
+ mbed-storage-filesystem
23
+ )
Original file line number Diff line number Diff line change 1
1
# Copyright (c) 2020 ARM Limited. All rights reserved.
2
2
# SPDX-License-Identifier: Apache-2.0
3
3
4
- target_include_directories (mbed-storage-kvstore
4
+ target_include_directories (mbed-storage-securestore
5
5
INTERFACE
6
6
.
7
7
./include
8
8
./include/securestore
9
9
)
10
10
11
- target_sources (mbed-storage-kvstore
11
+ target_sources (mbed-storage-securestore
12
12
INTERFACE
13
13
source /SecureStore.cpp
14
14
)
15
+
16
+ target_link_libraries (mbed-storage-securestore
17
+ INTERFACE
18
+ mbed-storage-kvstore
19
+ mbed-device_key
20
+ )
Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2020 ARM Limited. All rights reserved.
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ target_include_directories (mbed-storage-tdbstore
5
+ INTERFACE
6
+ .
7
+ ./include
8
+ ./include/tdbstore
9
+ )
10
+
11
+ target_sources (mbed-storage-tdbstore
12
+ INTERFACE
13
+ source /TDBStore.cpp
14
+ )
15
+
16
+ target_link_libraries (mbed-storage-tdbstore
17
+ INTERFACE
18
+ mbed-storage-kvstore
19
+ mbed-storage-blockdevice
20
+ )
You can’t perform that action at this time.
0 commit comments