Re: [CMake] C/C++ dependency scanner

2010-03-19 Thread Bill Hoffman
Steven Wilson wrote: That's an interesting idea. Would this step attach the dependencies to the .c file or the .bc file? It would attach them to the .c file. On Thu, Mar 18, 2010 at 7:49 PM, Bill Hoffman > wrote: I have a hack of an idea that might

Re: [CMake] C/C++ dependency scanner

2010-03-18 Thread Steven Wilson
That's an interesting idea. Would this step attach the dependencies to the .c file or the .bc file? On Thu, Mar 18, 2010 at 7:49 PM, Bill Hoffman wrote: > I have a hack of an idea that might work > > If you could changed your bc -> c generator to put in the #include lines , > but with if

Re: [CMake] C/C++ dependency scanner

2010-03-18 Thread Bill Hoffman
Steven Wilson wrote: Hey all, I have a large project whose source files start as files with an alternate extension (.bc). Those files are mostly generic C files that have some C++ like features that are preprocessed into vanilla C files using a custom C pre-processor. My project uses an

[CMake] C/C++ dependency scanner

2010-03-18 Thread Steven Wilson
Hey all, I have a large project whose source files start as files with an alternate extension (.bc). Those files are mostly generic C files that have some C++ like features that are preprocessed into vanilla C files using a custom C pre-processor. My project uses an add_custom_command() call t