Re: [CMake] Dependency checker

2010-09-10 Thread Michael Wild
On 9. Sep, 2010, at 17:43 , KSpam wrote: > Benjamin, > >> Thank you for your quick answer. I had a quick glance - what I don't >> quite understand is how can I integrate this into my custom cmake >> script? I have a ADD_CUSTOM_COMMAND, and in the depends I need this list >> of dependent files (t

Re: [CMake] Dependency checker

2010-09-10 Thread Benjamin Schindler
Hi Justin Thank you for the input. I think that's actually a doable solution, even though performance would probably suck. But still, better than having bugs in the system. Thanks Benjamin On 09/09/2010 05:43 PM, KSpam wrote: > Benjamin, > >> Thank you for your quick answer. I had a quick glanc

Re: [CMake] Dependency checker

2010-09-09 Thread KSpam
Benjamin, > Thank you for your quick answer. I had a quick glance - what I don't > quite understand is how can I integrate this into my custom cmake > script? I have a ADD_CUSTOM_COMMAND, and in the depends I need this list > of dependent files (the generated files, not the xsd's themselves). > >

Re: [CMake] Dependency checker

2010-09-09 Thread Michael Wild
AFAIK you need full language support for that. So far I haven't seen a good solution for that problem. CMake definitely needs some reworking there. Michael On 9. Sep, 2010, at 11:23 , Benjamin Schindler wrote: > Hi > > Thank you for your quick answer. I had a quick glance - what I don't > quit

Re: [CMake] Dependency checker

2010-09-09 Thread Benjamin Schindler
Hi Thank you for your quick answer. I had a quick glance - what I don't quite understand is how can I integrate this into my custom cmake script? I have a ADD_CUSTOM_COMMAND, and in the depends I need this list of dependent files (the generated files, not the xsd's themselves). If you could shed

Re: [CMake] Dependency checker

2010-09-09 Thread Michael Wild
On 9. Sep, 2010, at 10:15 , Benjamin Schindler wrote: > Hi > > I've written a cmake script for the codesynthesis xsd compiler which > works kindof similar to the qt scripts calling moc etc. > The problem is, that I have no dependency checker. I'd need to parse the > xsd asked for and put all inc

[CMake] Dependency checker

2010-09-09 Thread Benjamin Schindler
Hi I've written a cmake script for the codesynthesis xsd compiler which works kindof similar to the qt scripts calling moc etc. The problem is, that I have no dependency checker. I'd need to parse the xsd asked for and put all included xsd's in to the dependency list. And this needs to be cross pl

[CMake] Dependency checker and SYSTEM includes

2010-04-19 Thread Pavel Shevaev
Folks, I'm using include_regular_expression(..) in order to reduce the amount of work to be done by dependency checker and I find this command not very flexible in certain cases. I was wondering why not adding some option so that once the directory is included with SYSTEM flag it's not included in