Re: [CMake] 'Parallel' CMakeLists.txt?

2012-02-01 Thread Alexander Neundorf
On Tuesday 31 January 2012, Brad King wrote: On 1/31/2012 11:00 AM, Brad King wrote: On 1/31/2012 10:55 AM, Nicolas Desprès wrote: All these considerations are important but maybe we could just do first the easy path which is: add a -f option which change the default name every where, for

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-31 Thread Brad King
On 1/28/2012 11:36 AM, g...@novadsp.com wrote: Is it possible to get CMake to process/search for an alternative default filename to CMakeLists.txt? Not currently. We're not fundamentally opposed to the idea, but it may be tricky to get the interface right. Should the alternate name be used

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-31 Thread Nicolas Desprès
On Tue, Jan 31, 2012 at 2:23 PM, Brad King brad.k...@kitware.com wrote: On 1/28/2012 11:36 AM, g...@novadsp.com wrote: Is it possible to get CMake to process/search for an alternative default filename to CMakeLists.txt? Not currently.  We're not fundamentally opposed to the idea, but it may

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-31 Thread Brad King
On 1/31/2012 10:55 AM, Nicolas Desprès wrote: All these considerations are important but maybe we could just do first the easy path which is: add a -f option which change the default name every where, for all sub-directories, try_compile, etc... I'm willing to entertain patches but I really

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-31 Thread Bill Hoffman
On 1/31/2012 10:55 AM, Nicolas Desprès wrote: Brad, All these considerations are important but maybe we could just do first the easy path which is: add a -f option which change the default name every where, for all sub-directories, try_compile, etc... Changing for try_compile is going to

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-31 Thread John Drescher
This sounds like a job for distributed version control.  In Git you could keep a branch with your CMakeLists.txt changes and keep merging from the main branch to keep up with the other changes. That is basically what I do when I make changes that I know will break the build. I create a new

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-31 Thread Nicolas Desprès
On Tue, Jan 31, 2012 at 5:04 PM, Bill Hoffman bill.hoff...@kitware.com wrote: On 1/31/2012 10:55 AM, Nicolas Desprès wrote: Brad, All these considerations are important but maybe we could just do first the easy path which is: add a -f option which change the default name every where, for

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-30 Thread Nicolas Desprès
On Sat, Jan 28, 2012 at 5:36 PM, g...@novadsp.com g...@novadsp.com wrote: Is it possible to get CMake to process/search for an alternative default filename to CMakeLists.txt? Sounds like a nice feature to have using a command line option. You could maybe create a ticket in the bug tracker for

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-30 Thread Eric Noulard
Le 30 janvier 2012 19:18, Nicolas Desprès nicolas.desp...@gmail.com a écrit : On Sat, Jan 28, 2012 at 5:36 PM, g...@novadsp.com g...@novadsp.com wrote: Is it possible to get CMake to process/search for an alternative default filename to CMakeLists.txt? Sounds like a nice feature to have using

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-30 Thread Nicolas Desprès
2012/1/30 Eric Noulard eric.noul...@gmail.com: Le 30 janvier 2012 19:18, Nicolas Desprès nicolas.desp...@gmail.com a écrit : On Sat, Jan 28, 2012 at 5:36 PM, g...@novadsp.com g...@novadsp.com wrote: Is it possible to get CMake to process/search for an alternative default filename to

[CMake] 'Parallel' CMakeLists.txt?

2012-01-28 Thread g...@novadsp.com
Is it possible to get CMake to process/search for an alternative default filename to CMakeLists.txt? Motivation: I'm trying to set up CMake files for a rather large project that has an existing set of CMake files that a) I'd like to keep in place and b) keep unchanged until the parallel build

Re: [CMake] 'Parallel' CMakeLists.txt?

2012-01-28 Thread Eric Noulard
2012/1/28 g...@novadsp.com g...@novadsp.com: Is it possible to get CMake to process/search for an alternative default filename to CMakeLists.txt? No I don't think so. And if I remember well the name change wouldn't be that easy to implement. (beside the obvious search replace in the CMake