Skip to content

Commit

Permalink
apacheGH-43998: [C++][Docs] Add missing install command in building docs
Browse files Browse the repository at this point in the history
We need to install to use built Arrow C++ in our application.
  • Loading branch information
kou committed Sep 7, 2024
1 parent 7d49420 commit 001fb58
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/source/developers/cpp/building.rst
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,8 @@ and then ask to compile the build targets:
0 directories, 3 files
$ cmake --install .
When creating a build, it is possible to pass custom options besides
the preset-defined ones, for example:

Expand Down Expand Up @@ -293,6 +295,7 @@ Minimal release build (1GB of RAM for building or more recommended):
$ cd build-release
$ cmake ..
$ make -j8 # if you have 8 CPU cores, otherwise adjust
$ make install
Minimal debug build with unit tests (4GB of RAM for building or more recommended):

Expand All @@ -305,6 +308,7 @@ Minimal debug build with unit tests (4GB of RAM for building or more recommended
$ cmake -DCMAKE_BUILD_TYPE=Debug -DARROW_BUILD_TESTS=ON ..
$ make -j8 # if you have 8 CPU cores, otherwise adjust
$ make unittest # to run the tests
$ make install
The unit tests are not built by default. After building, one can also invoke
the unit tests using the ``ctest`` tool provided by CMake (note that ``test``
Expand Down

0 comments on commit 001fb58

Please sign in to comment.