Re: [cmake-developers] Source file dependencies

2017-12-07 Thread Craig Scott
Have a look at the documentation for the OBJECT_DEPENDS source property , which explains some options that may be relevant for your question. On Fri, Dec 8, 2017 at 5:08 AM, Wouter Klouwen wrote: > Hi all, > > In trying to improve

[cmake-developers] Source file dependencies

2017-12-07 Thread Wouter Klouwen
Hi all, In trying to improve our build rules, one of the problems I encountered is that I effectively have some source files that cannot be compiled unless certain targets are run. I noticed that cmSourceFile has the AddDepend() method, which looks to do the kind of thing that I want to do. cmFlT