amoeba / arrow-cmake-fetchcontent

Minimal example of including Arrow in a C++ project using CMake and FetchContent

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

arrow-cmake-fetchcontent

A minimal and fairly self-contained example of using CMake to use Arrow C++ in a separate C++ project. This uses FetchContent instead of ExternalProject to include Arrow C++.

Pre-requisites

  • git
  • cmake
  • A C++ compiler toolchain

Building

  1. git clone https://github.com/amoeba/arrow-cmake-fetchcontent
  2. cd arrow-cmake-fetchcontent
  3. mkdir build
  4. cd build
  5. cmake .. This fetches Arrow from GitHub so it takes a bit and produces no output
  6. cmake --build .
  7. ./example

Next steps

  • Make it easier to check out different versions of Arrow
  • Document how to customize the Arrow build

About

Minimal example of including Arrow in a C++ project using CMake and FetchContent


Languages

Language:C++ 82.0%Language:CMake 18.0%