26 lines
547 B
Plaintext
26 lines
547 B
Plaintext
-- GPRBuild example project file for highlightning
|
|
-- (c) 2024 Léo Germond, AdaCore, The MIT License
|
|
|
|
project Test is
|
|
|
|
type T is ("a", "b", "c");
|
|
-- typed variable
|
|
A : T := external ("PARAM");
|
|
|
|
for Main use ("main.adb");
|
|
for Source_Dirs use ("src", "src2/");
|
|
for Object_Dir use "obj";
|
|
|
|
package Compiler is
|
|
for Default_Switches ("Ada") use ("-g", "-o2");
|
|
end Compiler;
|
|
|
|
-- untyped variable
|
|
B := "test";
|
|
|
|
package Builder is
|
|
for Global_Configuration_Pragmas use "prj.adc";
|
|
end Builder;
|
|
|
|
end Test;
|