Re: [CMake] Generating dependencies with gcc -M

2010-07-04 Thread Michael Hertling
On 06/29/2010 08:40 AM, Tom Birch wrote: On Jun 28, 2010, at 10:09 AM, Michael Hertling wrote: On 06/28/2010 05:24 AM, Tom Birch wrote: CMake's dependency scanner uses its own parser to scan for #include directives, and then builds up the dependency tree this way. I know it's possible

Re: [CMake] Generating dependencies with gcc -M

2010-06-29 Thread Tom Birch
On Jun 28, 2010, at 10:09 AM, Michael Hertling wrote: On 06/28/2010 05:24 AM, Tom Birch wrote: CMake's dependency scanner uses its own parser to scan for #include directives, and then builds up the dependency tree this way. I know it's possible to rig up an invocation of gcc -M to generate

Re: [CMake] Generating dependencies with gcc -M

2010-06-28 Thread Michael Hertling
On 06/28/2010 05:24 AM, Tom Birch wrote: CMake's dependency scanner uses its own parser to scan for #include directives, and then builds up the dependency tree this way. I know it's possible to rig up an invocation of gcc -M to generate the correct dependencies, and then feed this into the

[CMake] Generating dependencies with gcc -M

2010-06-27 Thread Tom Birch
CMake's dependency scanner uses its own parser to scan for #include directives, and then builds up the dependency tree this way. I know it's possible to rig up an invocation of gcc -M to generate the correct dependencies, and then feed this into the OBJECT_DEPENDS property of source files, but