Skip to content

Commit

Permalink
Merge pull request #460 from masterleinad/link_cmake_keywords_install
Browse files Browse the repository at this point in the history
Link to CMake Keywords in install instructions
  • Loading branch information
dalg24 authored Oct 9, 2023
2 parents e619a34 + b5b385a commit a72eb07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/ProgrammingGuide/Compiling.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ There are numerous device backends, options, and architecture-specific optimizat
-DCMAKE_INSTALL_PREFIX=${my_install_folder} \
-DKokkos_ENABLE_OPENMP=On
```
which activates the OpenMP backend. All the options controlling device backends, options, architectures, and third-party libraries (TPLs) are given below under the keywords listing.
which activates the OpenMP backend. All the options controlling device backends, options, architectures, and third-party libraries (TPLs) are given in [CMake Keywords](../keywords).

### Using generate_makefile.bash
As an alternative to calling the cmake command directly, the generate_makefile.bash command can be used to configure the CMake build environment. The generate_makefile.bash equivalent to the above OpenMP example is as follows:
Expand Down
3 changes: 2 additions & 1 deletion docs/source/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ There are numerous device backends, options, and architecture-specific optimizat
-DCMAKE_INSTALL_PREFIX=${kokkos_install_folder} \
-DKokkos_ENABLE_OPENMP=ON
````
which activates the OpenMP backend. All the options controlling device backends, options, architectures, and third-party libraries (TPLs) are given below.
which activates the OpenMP backend. All the options controlling device backends, options, architectures, and third-party libraries (TPLs) are given in [CMake Keywords](../keywords).


## Known Issues<a name="KnownIssues"></a>

Expand Down

0 comments on commit a72eb07

Please sign in to comment.