-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Docs][C++] Add example of using ExternalProject_Add to use Arrow #32234
Comments
Kouhei Sutou / @kou: BTW, we may be able to provide an example that uses https://cmake.org/cmake/help/latest/module/FetchContent.html instead of I don't know details of ARROW-9740 too but I think that we can work on this as a separated task of ARROW-9740. |
Will Jones / @wjones127:
Which downloads and configures Arrow nicely, but
Maybe I have to force it to build Arrow as part of configure in order to generate that file? It would be nice if it could generate the target during configuration. |
Kouhei Sutou / @kou:
It seems that we need to use "superbuild" https://www.kitware.com/cmake-superbuilds-git-submodules/ to use |
We've given advice to use
ExternalProject_Add
to build Arrow from source within a users CMake project. (Correct me if I am wrong that that is the preferred method now.) But I found it non-trivial to implement this.We should add a simple example of doing this to the User Guide. We should also mention that we don't support
add_subdirectory
as that seems to be a common gotcha as well.This might overlap with ARROW-9740, but I don't quite understand what that issue is proposing.
Reporter: Will Jones / @wjones127
Note: This issue was originally created as ARROW-16914. Please see the migration documentation for further details.
The text was updated successfully, but these errors were encountered: