From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.163.102 with SMTP id yh6mr6248052pab.23.1444314726854; Thu, 08 Oct 2015 07:32:06 -0700 (PDT) X-Received: by 10.182.44.163 with SMTP id f3mr48021obm.7.1444314726774; Thu, 08 Oct 2015 07:32:06 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!feeder.erje.net!1.eu.feeder.erje.net!news.glorb.com!kq10no18470399igb.0!news-out.google.com!z4ni14922ign.0!nntp.google.com!kq10no18470390igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Thu, 8 Oct 2015 07:32:06 -0700 (PDT) Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=189.77.226.1; posting-account=TRgI1QoAAABSsYi-ox3Pi6N-JEKKU0cu NNTP-Posting-Host: 189.77.226.1 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: GPS: Including C headers from paths which are not configured in Source_Dirs From: "Rego, P." Injection-Date: Thu, 08 Oct 2015 14:32:06 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Xref: news.eternal-september.org comp.lang.ada:27938 Date: 2015-10-08T07:32:06-07:00 List-Id: In a project I have Ada and C files, for example, ohmy.adb, and bla.c and b= la.h, and some other files which are not listed in this Ada main project. F= or simplicity, project Test is for Languages use ("Ada", "C"); for Source_Dirs use ("."); for Main use ("ohmy.adb"); end Test; In bla.c I have an include=20 #include "tools/mytool.h" But directory 'tools' is not configured in Source_Dirs, so it does not find= mytool.h. How can I configure GPS to understand this type of include "tool= s/mytool.h" (instead of including 'tools' in Source_Dirs and including the = file using #include "mytool.h")? Thanks.