Re: [cmake-developers] How to handle configurations (Was: Generating buildsystem metadata from CMake)

2015-03-23 Thread Stephen Kelly
Tobias Hunger wrote: > Hi Stephen, > > On Sat, Mar 21, 2015 at 10:56 AM, Stephen Kelly > wrote: >> So, the design question I have is: >> >> * Is lots of repetition ok in the metadata file? > > If it can not be avoided, then so be it. It can be avoided at the cost of computation. I thought that

Re: [cmake-developers] How to handle configurations (Was: Generating buildsystem metadata from CMake)

2015-03-22 Thread Tobias Hunger
Hi Stephen, On Sat, Mar 21, 2015 at 10:56 AM, Stephen Kelly wrote: > So, the design question I have is: > > * Is lots of repetition ok in the metadata file? If it can not be avoided, then so be it. > The answer will be re-used in many other places. For example, if I have a > CMakeLists like > >

[cmake-developers] How to handle configurations (Was: Generating buildsystem metadata from CMake)

2015-03-21 Thread Stephen Kelly
This seems to be to be a design point which we are blocked on. There are many different ideas floating around. I think we need to talk about what would be generated for actual CMakeLists files, and how tools would parse the result. I suggest starting with the Tests/Metadata/CMakeLists.txt fil