Skip to content

Commit

Permalink
Support RecordFlux specs in test.gpr
Browse files Browse the repository at this point in the history
Ref. #243
  • Loading branch information
Alexander Senier authored and treiher committed Jul 23, 2020
1 parent cc18daa commit 2c2ee1c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions test.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,18 @@ project Test is
AUnit : Flag_Type := external ("aunit", "yes");
Optimization : Flag_Type := external ("optimization", "no");

for Languages use ("Ada", "RecordFlux");

package Compiler is
for Driver ("RecordFlux") use "";
end Compiler;

case AUnit is
when "yes" =>
for Source_Dirs use ("generated", "tests");
for Source_Dirs use ("generated", "tests", "specs");
for Main use ("test.adb");
when "no" =>
for Source_Dirs use ("generated");
for Source_Dirs use ("generated", "specs");
end case;

for Object_Dir use "build";
Expand Down

0 comments on commit 2c2ee1c

Please sign in to comment.