Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions gnat/protoc_gen_ada.gpr
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ project Protoc_Gen_Ada is
for Exec_Dir use "../.objs/compiler";
for Object_Dir use "../.objs/compiler/" & Protobuf_Config.Build_Profile;
for Main use ("compiler-run.adb");
for Create_Missing_Dirs use "True"; -- Flips the "-p" switch

package Compiler is
for Default_Switches ("Ada") use
Expand All @@ -46,6 +47,9 @@ project Protoc_Gen_Ada is

package Builder is
for Executable ("compiler-run.adb") use "protoc-gen-ada";
-- "If -j0 is used, then the maximum number of simultaneous compilation
-- jobs is the number of core processors on the platform."
for Default_Switches ("ada") use ("-j0");
end Builder;

package Install is
Expand Down
Loading