mirror of
https://github.com/AdaCore/langkit.git
synced 2026-02-12 12:28:12 -08:00
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:
committed by
Pierre-Marie de Rodat
parent
7ba385404c
commit
993f247ac8
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user