Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ target_link_libraries( ${PROJECT_NAME} PRIVATE ${JULIA_LIBRARY} MPI::MPI_C )
# Set appropriate compile flags
target_compile_options( ${PROJECT_NAME} PUBLIC "-fPIC" )
target_compile_options( ${PROJECT_NAME} PRIVATE -Wall -Wextra -Werror)
# Require C11 standard with GNU extensions for C files
target_compile_options( ${PROJECT_NAME} PRIVATE $<$<COMPILE_LANGUAGE:C>:-std=gnu11>)
# Require Fortran 2018 standard for Fortran files
target_compile_options( ${PROJECT_NAME} PRIVATE $<$<COMPILE_LANGUAGE:Fortran>:-std=f2018>)



Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Currently, libtrixi is only developed and tested for Linux.
Furthermore, a local installation of `MPI`,
[`t8code`](https://github.com/DLR-AMR/t8code), and
[`Julia`](https://julialang.org/downloads/platform/) is required.
Furthermore, a C11-compatible C compiler and a Fortran 2018-compatible Fortran compiler are
necessary to build the C library and its Fortran bindings.

### Get the sources

Expand Down
2 changes: 2 additions & 0 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ Currently, libtrixi is only developed and tested for Linux.
Furthermore, a local installation of `MPI`,
[`t8code`](https://github.com/DLR-AMR/t8code), and
[`Julia`](https://julialang.org/downloads/platform/) is required.
Furthermore, a C11-compatible C compiler and a Fortran 2018-compatible Fortran compiler are
necessary to build the C library and its Fortran bindings.

### Get the sources

Expand Down