Blob Blame History Raw
commit af0bd0e07e391e52df9bab43c3d40693496d8e32
Author: Vasiliy Fofanov <fofanov@adacore.com>
Date:   Wed Jun 14 12:19:43 2017 +0200

    Define Ada as a default language.
    
    Define Ada as a default language GPR should fall back to if no languages
    are specified in the project. This was implicitly already the case if
    gprconfig could find the Ada toolchain, but resulted in no languages defined
    for the project if it couldn't. Now Ada is default language regardless of
    whether the toolchain was found.
    
    Change-Id: Ide782d614813779a2c30e14935b962dd959a030b
    TN: Q523-029

diff --git a/share/gprconfig/0_default.xml b/share/gprconfig/0_default.xml
index 6078bdaf..6af7267f 100644
--- a/share/gprconfig/0_default.xml
+++ b/share/gprconfig/0_default.xml
@@ -27,6 +27,7 @@
    end Naming;
 
    for Inherit_Source_Path ("C++") use ("C");
+   for Default_Language use "Ada";
 
    package Clean is
       for Source_Artifact_Extensions ("Ada") use (".dg", ".rep");