From a65fed0b63ca301882c3d2a44a73cb413ac92c3f Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Sat, 11 Apr 2020 15:15:25 -0500 Subject: Read executable settings from file --- example_project/fpm.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'example_project/fpm.toml') diff --git a/example_project/fpm.toml b/example_project/fpm.toml index f2ae1c8..f6c6e1d 100644 --- a/example_project/fpm.toml +++ b/example_project/fpm.toml @@ -7,7 +7,8 @@ copyright = "2020 Author" dependencies = [] compiler = "gfortran" -[executables.example_project] -main = "main.f90" +[[executable]] +name = "example_project" source-dir = "app" +main = "main.f90" dependencies = [] -- cgit v1.2.3 From fde13b66701956a53282f558d79a8ddbfca0c905 Mon Sep 17 00:00:00 2001 From: Brad Richardson Date: Sat, 11 Apr 2020 15:26:40 -0500 Subject: Enable default settings for executables --- example_project/fpm.toml | 6 ------ 1 file changed, 6 deletions(-) (limited to 'example_project/fpm.toml') diff --git a/example_project/fpm.toml b/example_project/fpm.toml index f6c6e1d..38cc3b7 100644 --- a/example_project/fpm.toml +++ b/example_project/fpm.toml @@ -6,9 +6,3 @@ maintainer = "example@example.com" copyright = "2020 Author" dependencies = [] compiler = "gfortran" - -[[executable]] -name = "example_project" -source-dir = "app" -main = "main.f90" -dependencies = [] -- cgit v1.2.3