You've already forked gnatstudio
mirror of
https://github.com/AdaCore/gnatstudio.git
synced 2026-02-12 12:42:33 -08:00
Use Switches rather than Default_Switches (which has been obsolete for a while now). In shared.gpr, add support for enabling link-time-optimization and removal of unused subprograms. This is not supported on Windows for now. Add a new OS for "osx", since the linker switches are different. OA15-011 (1/2) Change-Id: I72371631eefd18cf88442c969c805e0258f4ba6e
31 lines
669 B
Plaintext
31 lines
669 B
Plaintext
with "gtkada";
|
|
|
|
project Libkernel is
|
|
|
|
for Source_Dirs use
|
|
("src",
|
|
"src_info",
|
|
"../gnat",
|
|
"../gnat/sdefault",
|
|
"../common/src",
|
|
"../common/gnat",
|
|
"../widgets/src");
|
|
|
|
for Object_Dir use "obj-lib";
|
|
for Library_Dir use "lib";
|
|
for Library_Name use "kernel";
|
|
for Library_Kind use "dynamic";
|
|
|
|
package Compiler is
|
|
for Switches ("Ada")
|
|
use ("-gnatpg", "-O2", "-g", "-gnatws");
|
|
end Compiler;
|
|
|
|
package Naming is
|
|
for Implementation ("mlib.tgt.specific")
|
|
use "mlib-tgt-specific-linux.adb";
|
|
for Implementation ("xml_parsers") use "xml_parsers_gtk.adb";
|
|
end Naming;
|
|
|
|
end Libkernel;
|