tree: 8c10516206143de0529903db9e9e836cf0a0acb1 [path history] [tgz]
  1. src/
  2. CMakeLists.txt
  3. invalid.arrows
  5. schema-valid.arrows

IPC Extension CMake Example

This folder contains a CMake project that links to its own copy of nanoarrow and nanoarrow_ipc using CMake's FetchContent module. This pattern is similar to the cmake-minimal example and includes both a library and a command-line application that can verify a small message read from stdin. To build:

git clone
cd arrow-nanoarrow/examples/cmake-ipc
mkdir build && cd build
cmake ..
cmake --build .

You can test the command-line application using the two files provided in the example directory:

cat ../schema-valid.arrows | ./example_cmake_ipc_app
cat ../invalid.arrows | ./example_cmake_ipc_app
# Expected 0xFFFFFFFF at start of message but found 0xFFFFFF00