[cfe-dev] Anyway to tell clang to always include a header file?

Nikola Smiljanic via cfe-dev cfe-dev at lists.llvm.org
Mon Oct 17 16:52:41 PDT 2016


Try -include yourfile.h

On Tue, Oct 18, 2016 at 10:15 AM, Phil Tomson via cfe-dev <
cfe-dev at lists.llvm.org> wrote:

> We've got some #define's we'd always like defined for a particular target
> but we'd like to not have the users be aware that they need to #include
> that header. Is it possible to set up a list of "default" header files that
> are always included for a particular target?
>
> Phil
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20161018/f6358f4b/attachment.html>


More information about the cfe-dev mailing list