with "aao", "proj/common"; project Example is for languages use ("Ada", "C"); for Source_Dirs use ("example"); for Object_Dir use "obj"; for Exec_Dir use "bin"; for Main use ("aao_example.adb", "ao_example.c", "info_list.adb", "format_options.adb"); package Builder is for Executable("aao_example.adb") use "ada_example"; for Executable("ao_example.c") use "c_example"; for Executable("info_list.adb") use "info_list"; for Executable("format_options.adb") use "format_options"; for Default_Switches ("Ada") use Common.Builder'Default_Switches ("Ada"); for Global_Compilation_Switches ("Ada") use Common.Builder'Global_Compilation_Switches ("Ada"); end Builder; package Compiler renames Common.Compiler; package Binder renames Common.Binder; package Linker renames Common.Linker; end Example;