@@ -66,7 +66,7 @@ git config --global user.email johndoe@example.com
6666
6767### Configure CMake builds
6868
69- Thrust uses [ CMake] ( https://www.cmake.org ) for its developer build system. To
69+ Thrust uses [ CMake] ( https://www.cmake.org ) for its primary build system. To
7070configure, build, and test your checkout of Thrust:
7171
7272```
@@ -75,9 +75,10 @@ mkdir build
7575cd build
7676
7777# Configure -- use one of the following:
78- cmake .. # Command line interface.
79- ccmake .. # ncurses GUI (Linux only)
80- cmake-gui # Graphical UI, set source/build directories in the app
78+ cmake .. # Command line interface
79+ cmake -DTHRUST_INCLUDE_CUB_CMAKE=ON .. # Enables CUB development targets
80+ ccmake .. # ncurses GUI (Linux only)
81+ cmake-gui # Graphical UI, set source/build directories in the app
8182
8283# Build:
8384cmake --build . -j <num jobs> # invokes make (or ninja, etc)
@@ -86,7 +87,10 @@ cmake --build . -j <num jobs> # invokes make (or ninja, etc)
8687ctest
8788```
8889
89- See [ CMake Options] ( #cmake-options ) for details on customizing the build.
90+ See [ CMake Options] ( #cmake-options ) for details on customizing the build. To
91+ enable CUB tests and examples, set the ` THRUST_INCLUDE_CUB_CMAKE ` option to
92+ ` ON ` . Additional CMake options for CUB are listed
93+ [ here] ( https://github.com/NVIDIA/cub/blob/main/CONTRIBUTING.md#cmake-options ) .
9094
9195## Create a Development Branch
9296
0 commit comments