@@ -21,6 +21,16 @@ add_executable(parquet-arrow-example parquet-arrow/reader-writer.cc)
21
21
add_executable (parquet-stream-api-example parquet-stream-api/stream-reader-writer.cc)
22
22
target_include_directories (parquet-low-level-example PRIVATE low-level-api/)
23
23
target_include_directories (parquet-low-level-example2 PRIVATE low-level-api/)
24
+ add_executable (parquet-with-index-page-skipping low-level-api/reader-writer-with-index.cc)
25
+ add_executable (parquet-reader-with-pageindex low-level-api/reader-with-index.cc)
26
+ add_executable (parquet-writer-with-pageindex low-level-api/writer-with-index.cc)
27
+ target_include_directories (parquet-low-level-example PRIVATE low-level-api/)
28
+ target_include_directories (parquet-low-level-example2 PRIVATE low-level-api/)
29
+ target_include_directories (parquet-reader-with-pageindex PRIVATE low-level-api/)
30
+ target_include_directories (parquet-writer-with-pageindex PRIVATE low-level-api/)
31
+ target_link_libraries (parquet-low-level-example parquet_static)
32
+ target_link_libraries (parquet-low-level-example2 parquet_static)
33
+ target_link_libraries (parquet-with-index-page-skipping parquet_static)
24
34
25
35
# The variables in these files are for illustration purposes
26
36
set (PARQUET_EXAMPLES_WARNING_SUPPRESSIONS
@@ -47,6 +57,8 @@ if(UNIX)
47
57
PROPERTY COMPILE_FLAGS "-Wno-unused-variable" )
48
58
endforeach ()
49
59
endif ()
60
+ target_link_libraries (parquet-reader-with-pageindex parquet_static)
61
+ target_link_libraries (parquet-writer-with-pageindex parquet_static)
50
62
51
63
# Prefer shared linkage but use static if shared build is deactivated
52
64
if (ARROW_BUILD_SHARED)
@@ -76,3 +88,7 @@ if (PARQUET_REQUIRE_ENCRYPTION)
76
88
parquet-encryption-example
77
89
parquet-encryption-example-all -crypto-options )
78
90
endif ()
91
+ parquet-with-index-page-skipping
92
+ parquet-writer-with-pageindex
93
+ parquet-reader-with-pageindex
94
+ parquet-arrow-example)
0 commit comments