I did a small experiment with FetchContent in CMake to see if we can build Arrow on demand when thee library is not installed to make it easier to build from source. It seems to work. Tested with the apache-arrow-1.0.0 branch of Arrow. We should add this.
[ 98%] Linking CXX shared library ../../release/libarrow.dylib
[ 98%] Built target arrow_shared
[ 99%] Building CXX object CMakeFiles/main.dir/main.cpp.o
[100%] Linking CXX executable main
[100%] Built target main
❯ otool -L main
main:
@rpath/libarrow.100.dylib (compatibility version 100.0.0, current version 100.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 902.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1281.100.1)
I did a small experiment with
FetchContent
in CMake to see if we can build Arrow on demand when thee library is not installed to make it easier to build from source. It seems to work. Tested with theapache-arrow-1.0.0
branch of Arrow. We should add this.