Skip to content

Commit

Permalink
hint in build instructions that the language feature is requried for …
Browse files Browse the repository at this point in the history
…windows builds
  • Loading branch information
JBludau committed Jan 11, 2025
1 parent 57e8fa8 commit 297f684
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/source/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ which activates the OpenMP backend. All the options controlling device backends,

* In a mixed C++/Fortran code, CMake will use the C++ linker by default. If you override this behavior and use Fortran as the link language, the link may break because Kokkos adds linker flags expecting the linker to be C++. Prior to CMake 3.18, Kokkos has no way of detecting in downstream projects that the linker was changed to Fortran. From CMake 3.18, Kokkos can use generator expressions to avoid adding flags when the linker is not C++. Note: Kokkos will not add any linker flags in this Fortran case. The user will be entirely on their own to add the appropriate linker flags.

### MSVC
* Building an application that uses Kokkos with Microsoft Visual Studio and the `Cuda` backend enabled, requires the use of the CMake language feature.

## Raw Makefile

Raw Makefiles are only supported via inline builds. See below.
Expand Down

0 comments on commit 297f684

Please sign in to comment.