-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -116,7 +116,7 @@ https://github.com/cpm-cmake/CPM.cmake/[CMake Package Manager (CPM)]: | |
[source,cmake] | ||
---- | ||
CPMAddPackage("https://github.com/SINTEF/[email protected]") | ||
target_link_libraries(<your target> fortran-error-handling) | ||
target_link_libraries(<your target> error-handling) | ||
---- | ||
|
||
//TODO: | ||
|
@@ -141,7 +141,7 @@ If you don't want to use CPM you can either use | |
https://cmake.org/cmake/help/latest/module/FetchContent.html[FetchContent] | ||
manually or add this repo as a git submodule to your project. Then in your | ||
`CMakeLists.txt` add it as a subdirectory and use `target_link_libraries` to | ||
link against `fortran-error-handling`. | ||
link against `error-handling`. | ||
|
||
=== Fortran Package Manager (FPM) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,9 +16,9 @@ the call stack. | |
It is also possible to programmatically identify and handle certain types or errors | ||
without terminating the application. | ||
|
||
//TODO: URL | ||
But perhaps most interesting is the ability to generate stacktraces along with any | ||
error when combined with the http://TODO:[fortran-stacktrace] library. | ||
error when combined with the https://github.com/SINTEF/fortran-stacktrace[fortran-stacktrace] | ||
library. | ||
This means that you can easily make even old legacy code output errors messages like this: | ||
|
||
image::stacktrace-example.png[] | ||
|
@@ -50,8 +50,7 @@ include::../example/basic.f90[tag=run] | |
---- | ||
|
||
=== Generating Stacktraces | ||
// TODO: URL | ||
For enabling stacktraces from errors, see instructions http://TODO:[here]. | ||
For enabling stacktraces from errors, see instructions https://github.com/SINTEF/fortran-stacktrace#fortran-stacktrace[here]. | ||
|
||
== Building | ||
|
||
|
@@ -70,7 +69,7 @@ https://github.com/cpm-cmake/CPM.cmake/[CMake Package Manager (CPM)]: | |
[source,cmake] | ||
---- | ||
CPMAddPackage("https://github.com/SINTEF/[email protected]") | ||
target_link_libraries(<your target> fortran-error-handling) | ||
target_link_libraries(<your target> error-handling) | ||
---- | ||
|
||
//TODO: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name = "fortran-error-handling" | ||
name = "error-handling" | ||
version = "0.1.0" | ||
license = "MIT" | ||
author = "Pål Levold" | ||
|