Added rsp file to save writing --compiler intel everywhere;

updated README accordingly
This commit is contained in:
sgeard 2023-06-10 14:32:18 +01:00
parent 693a387466
commit ba42578276
2 changed files with 16 additions and 0 deletions

View file

@ -56,6 +56,10 @@ Examples
cd hp cd hp
fpm test fpm test
fpm run fpm run
# or using the response file (saves writing --compiler ifort everywhere)
fpm @build
fpm @test
fpm @run
``` ```
or just list it as a dependency in your fpm.toml project file. or just list it as a dependency in your fpm.toml project file.
@ -64,3 +68,4 @@ Examples
[dependencies] [dependencies]
hp = { git = "https://github.com/sgeard/hp.git" } hp = { git = "https://github.com/sgeard/hp.git" }
``` ```

11
fpm.rsp Normal file
View file

@ -0,0 +1,11 @@
@build
> Building with ifort
options build --compiler ifort
###############################
@run
> Running
options run --compiler ifort
###############################
@test
> Running tests on amap
options test --compiler ifort