An open API service indexing awesome lists of open source software.

https://github.com/amoeba/arrow-cmake-fetchcontent

Minimal example of including Arrow in a C++ project using CMake and FetchContent
https://github.com/amoeba/arrow-cmake-fetchcontent

apache-arrow cmake cpp

Last synced: 5 months ago
JSON representation

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

Awesome Lists containing this project

README

          

# 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