From: "Rego, P." <pvrego@gmail.com>
Subject: GPS: Including C headers from paths which are not configured in Source_Dirs
Date: Thu, 8 Oct 2015 07:32:06 -0700 (PDT)
Date: 2015-10-08T07:32:06-07:00 [thread overview]
Message-ID: <f965d1f3-21ac-4a43-bfe0-1d1795474b24@googlegroups.com> (raw)
In a project I have Ada and C files, for example, ohmy.adb, and bla.c and bla.h, and some other files which are not listed in this Ada main project. For 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
#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 "tools/mytool.h" (instead of including 'tools' in Source_Dirs and including the file using #include "mytool.h")?
Thanks.
next reply other threads:[~2015-10-08 14:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-08 14:32 Rego, P. [this message]
2015-10-08 15:29 ` GPS: Including C headers from paths which are not configured in Source_Dirs Simon Wright
2015-10-08 16:51 ` Rego, P.
2015-10-08 18:11 ` Qun-Ying
2015-10-08 20:49 ` Simon Wright
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox