T811-021 Add support for using GNATCOLL.Memory in main programs

Prep work for adding support for memory reporting in nameres.
This commit is contained in:
Nicolas Setton
2020-08-11 21:51:30 -04:00
committed by Pierre-Marie de Rodat
parent 7ba385404c
commit 993f247ac8

View File

@@ -33,6 +33,10 @@ project Mains is
-- profiling, for instance.
for Default_Switches ("Ada") use ("-g", "-Ofast");
end case;
-- A version of s-memory may be included for memory monitoring
-- with GNATCOLL.Memory: if so, it requires -gnatg.
for Switches ("s-memory.adb") use ("-g", "-O2", "-gnatpg");
end Compiler;