Files
gnatstudio/kernel/libkernel.gpr
Emmanuel Briot ea3c90439a Minor rewrite of the project files
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
2015-10-20 08:54:43 +02:00

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;