@@ -13,29 +13,27 @@ include(mbed_project_setup)
13
13
# Include MBED OS
14
14
add_subdirectory (../mbed-os ../mbed-os-build )
15
15
16
- # # Fetch Nanoarrow - a minimal implementation of Apache Arrow
17
- # include(FetchContent)
18
- # # This enables the nanoarrow IPC extension (required to use Arrow IPC functions)
19
- # # (note: the nanoarrow_ipc library is created conditionally based on this flag)
20
- # set(NANOARROW_IPC ON CACHE BOOL "Build IPC extension")
21
- # FetchContent_Declare(
22
- # nanoarrow
23
- # URL https://github.com/apache/arrow-nanoarrow/releases/download/apache-arrow-nanoarrow-0.6.0/apache-arrow-nanoarrow-0.6.0.tar.gz
24
- # URL_HASH SHA512=25e81c119c16bfa29a9943d3904acd8f29f225ff4a1c99decde7c8235300232402106a4b5249921df773fb797bb0149a885fa3a4524c34c67c06199edd72250c
25
- # DOWNLOAD_EXTRACT_TIMESTAMP ON
26
- # )
27
- # FetchContent_MakeAvailable(nanoarrow)
16
+ # Fetch Nanoarrow - a minimal implementation of Apache Arrow
17
+ include (FetchContent )
18
+ # This enables the nanoarrow IPC extension (required to use Arrow IPC functions)
19
+ # (note: the nanoarrow_ipc library is created conditionally based on this flag)
20
+ set (NANOARROW_IPC ON CACHE BOOL "Build IPC extension" )
21
+ FetchContent_Declare (
22
+ nanoarrow
23
+ URL https://github.com/apache/arrow-nanoarrow/releases/download/apache-arrow-nanoarrow-0.6.0/apache-arrow-nanoarrow-0.6.0.tar.gz
24
+ URL_HASH SHA512=25e81c119c16bfa29a9943d3904acd8f29f225ff4a1c99decde7c8235300232402106a4b5249921df773fb797bb0149a885fa3a4524c34c67c06199edd72250c
25
+ DOWNLOAD_EXTRACT_TIMESTAMP ON
26
+ )
27
+ FetchContent_MakeAvailable (nanoarrow )
28
28
29
29
30
30
# Add our main executable, and link all the above libraries to it
31
31
set (CMAKE_CXX_STANDARD 20 )
32
32
add_executable (${PROJECT_NAME} main.cpp )
33
33
34
34
target_include_directories (${PROJECT_NAME} PUBLIC include )
35
- # target_link_libraries(${PROJECT_NAME} mbed-os FATFileSystem SDFileSystem nanoarrow nanoarrow_ipc)
36
- # target_link_libraries(${PROJECT_NAME} mbed-baremetal FATFileSystem SDFileSystem)
37
- # target_link_libraries(${PROJECT_NAME} mbed-os FATFileSystem SDFileSystem)
38
-
39
- target_link_libraries (${PROJECT_NAME} mbed-os mbed-storage-sd mbed-storage-fat )
35
+ target_link_libraries (${PROJECT_NAME} mbed-os mbed-storage-sd mbed-storage-fat nanoarrow nanoarrow_ipc )
36
+ # target_link_libraries(${PROJECT_NAME} mbed-baremetal mbed-storage-sd mbed-storage-fat)
37
+ # target_link_libraries(${PROJECT_NAME} mbed-baremetal mbed-storage-sd mbed-storage-fat nanoarrow nanoarrow_ipc)
40
38
41
39
mbed_set_post_build (${PROJECT_NAME} )
0 commit comments