[CMake] Change optimization level for a particular XCode configuration

2014-01-16 Thread Keith Johnston
I am trying to change the optimization setting for a particular configuration in the genreated XCode project, specifically the "RelWithDebInfo" configuration. The default optimization level is "2" and I would like it to be "3". Here is my CMakeLists.txt set(XCODE_ATTRIBUTE_GCC_OPTIMIZATION_LEVEL[v

Re: [CMake] What is the best way to clean up CMakeFiles and CMakeCache.txt if aborting build completely?

2014-01-16 Thread Williams, Norman K
What I remember is that when we started adding 'prevent in-source build' macros a couple years ago, we had this exact complaint. The problem is that the test happens at a particular point in the configuration process that makes it difficult to clean up after. I suspect the CMakeCache.txt is writt

Re: [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-16 Thread Bill Hoffman
On 1/16/2014 10:10 AM, Dominik Bernhardt wrote: On one of my projects, I see ~3.0 seconds for CMake 2.8.12 and ~3.8 seconds for CMake master. I don't have an idea why, but with my test, it doesn't see like "much" slower. In one of my projects it's unfortunately ~5s versus ~45s :( . The most amou

Re: [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-16 Thread Dominik Bernhardt
-Urspruengliche Nachricht- Von: CMake [mailto:cmake-boun...@cmake.org] Im Auftrag von Clinton Stimpson Gesendet: Donnerstag, 16. Januar 2014 15:56 An: cmake@cmake.org Betreff: Re: [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1 On Thursday, January 16, 2014 03:13:31 PM Domini

Re: [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-16 Thread Clinton Stimpson
On Thursday, January 16, 2014 03:13:31 PM Dominik Bernhardt wrote: > Hi, > > I just observed, that the current master branch is much slower than > the the release branch with tag 2.8.12.1 > I have built both branches with VS2010 with the Release configuration. > > Does anyone have an idea what mi

Re: [CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-16 Thread Nils Gladitz
On 01/16/2014 03:13 PM, Dominik Bernhardt wrote: Does anyone have an idea what might be the cause for that performance degeneration? Does anyone else observe this behavior? Is there a specific aspect that is slower? Do you perhaps have a simple, self-contained test case that would make this

[CMake] CMake 2.8.12.201401116 is much slower than 2.8.12.1

2014-01-16 Thread Dominik Bernhardt
Hi, I just observed, that the current master branch is much slower than the the release branch with tag 2.8.12.1 I have built both branches with VS2010 with the Release configuration. Does anyone have an idea what might be the cause for that performance degeneration? Does anyone else observ