[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-dev
Subject: Re: [cfe-dev] Standalone tools
From: Jacob Carlborg <doob () me ! com>
Date: 2014-04-28 9:35:33
Message-ID: ljl7d4$4oo$2 () ger ! gmane ! org
[Download RAW message or body]
On 28/04/14 09:51, Olivier Goffart wrote:
> I have been doing that even before clang had a VFS.
>
> The idea is using cmake to put the content of the file in the binary
>
> Using this cmake script
> https://github.com/woboq/moc-ng/blob/master/src/CMakeLists.txt#L57
> and
> https://github.com/woboq/moc-ng/blob/master/src/embedded_includes.h.in
> This puts the file contents into the binary
>
> Then I added a "-I/builtins" to the command line, and used
> ToolInvocation::mapVirtualFile to expose the files:
> http://code.woboq.org/mocng/src/main.cpp.html#354
Cool, I'll have a look at that as well.
--
/Jacob Carlborg
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic