Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-07-02 Thread Claus Klein

Yes, you are right.

My fault, I was really not up to date.

It works fine with your fix.

Thanks
Claus

On 27.06.2012, at 20:07, Peter Kümmel wrote:

Works also here on Windows, Ubuntu 12.04, and Mac 10.8 (gcc-4.2,  
i386),

at least when I use cmake as sources.

Are you sure your sources are up to date? Recently I fixed
another(?) crash reported by you:

https://github.com/syntheticpp/CMake/commit/2fb07fc44c49da70a609fbc0df013c0301e9f36a 
#Source/cmExtraEclipseCDT4Generator.cxx


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-27 Thread David Cole
On Wed, Jun 27, 2012 at 5:47 PM, Alexander Neundorf  wrote:
> Hi,
>
> On Friday 22 June 2012, David Cole wrote:
>
>> I am happy to announce that CMake 2.8.9 has entered the release candidate
>
>> stage!
>
>>
>
>> You can find the source and binaries here:
>
>>
>
>> http://www.cmake.org/files/v2.8/?C=M;O=D
>
> it would be nice if my two DetectManSection and
> EclipseFixIncludeDirDetectionMinGW branches could still make it into 2.8.9.
>
> They fix tickets #13313 and #13296 .
>
> Alex

Yes, we will do an rc2 either end of this week or early next. Those
both look simple enough to be merged in.
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-27 Thread Alexander Neundorf
Hi,

On Friday 22 June 2012, David Cole wrote:
> I am happy to announce that CMake 2.8.9 has entered the release candidate
> stage!
> 
> You can find the source and binaries here:
> 
>   http://www.cmake.org/files/v2.8/?C=M;O=D

it would be nice if my two DetectManSection and 
EclipseFixIncludeDirDetectionMinGW branches could still make it into 2.8.9.
They fix tickets #13313 and #13296 .

Alex
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-27 Thread Peter Kümmel

On 26.06.2012 23:00, Bill Hoffman wrote:

On 6/26/2012 2:42 PM, Claus Klein wrote:

yes, sure,

On Darwin, I simply do:

cmake -G 'Eclipse CDT4 - Ninja'
-DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=1 ../LMX

That works with any cmake project I work.

Nightly build on
uname -a
Darwin claus-kleins-macbook-pro.local 9.8.0 Darwin Kernel Version 9.8.0:
Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
i386 MacBookPro5,1 Darwin



Can you run cmake in gdb with a debug build and get the exact location
of the crash?

It is working on my windows box...


Works also here on Windows, Ubuntu 12.04, and Mac 10.8 (gcc-4.2, i386),
at least when I use cmake as sources.

Are you sure your sources are up to date? Recently I fixed
another(?) crash reported by you:

https://github.com/syntheticpp/CMake/commit/2fb07fc44c49da70a609fbc0df013c0301e9f36a#Source/cmExtraEclipseCDT4Generator.cxx




-Bill

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-26 Thread Claus Klein
Yes, on MSYS it works too.

I will try to debug it at the Weekend,
I have no Time befor sunday.

Sorry
Claus

With regards
Claus

On 26.06.2012, at 23:00, Bill Hoffman  wrote:

> On 6/26/2012 2:42 PM, Claus Klein wrote:
>> yes, sure,
>> 
>> On Darwin, I simply do:
>> 
>> cmake -G 'Eclipse CDT4 - Ninja'
>> -DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=1 ../LMX
>> 
>> That works with any cmake project I work.
>> 
>> Nightly build on
>> uname -a
>> Darwin claus-kleins-macbook-pro.local 9.8.0 Darwin Kernel Version 9.8.0:
>> Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
>> i386 MacBookPro5,1 Darwin
>> 
> 
> Can you run cmake in gdb with a debug build and get the exact location of the 
> crash?
> 
> It is working on my windows box...
> 
> -Bill
> 
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-26 Thread Bill Hoffman

On 6/26/2012 2:42 PM, Claus Klein wrote:

yes, sure,

On Darwin, I simply do:

cmake -G 'Eclipse CDT4 - Ninja'
-DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=1 ../LMX

That works with any cmake project I work.

Nightly build on
uname -a
Darwin claus-kleins-macbook-pro.local 9.8.0 Darwin Kernel Version 9.8.0:
Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
i386 MacBookPro5,1 Darwin



Can you run cmake in gdb with a debug build and get the exact location 
of the crash?


It is working on my windows box...

-Bill

--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-26 Thread Claus Klein

yes, sure,

On Darwin, I simply do:

cmake -G 'Eclipse CDT4 - Ninja' - 
DCMAKE_ECLIPSE_GENERATE_SOURCE_PROJECT=1 ../LMX


That works with any cmake project I work.

Nightly build on
uname -a
Darwin claus-kleins-macbook-pro.local 9.8.0 Darwin Kernel Version  
9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386  
i386 i386 MacBookPro5,1 Darwin


Claus

On 26.06.2012, at 20:33, Bill Hoffman wrote:


Can you give a way to reproduce the problem?



--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-26 Thread Bill Hoffman

On 6/26/2012 2:25 PM, Claus Klein wrote:

Hi Dave,

I found one more Ninja issue;

The Ninja Eclipse Generator crashes while make target generation. No
Idea why, but this helps for now:



Can you give a way to reproduce the problem?




diff --git a/Source/cmExtraEclipseCDT4Generator.cxx
b/Source/cmExtraEclipseCDT4Generator.cxx
index ab11307..b9e360b 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -964,6 +964,11 @@ void
cmExtraEclipseCDT4Generator::CreateCProjectFile() const
 it != this->GlobalGenerator->GetLocalGenerators().end();
 ++it)
  {
+if (std::string("Ninja") == generator->GetName())
+  {
+  break;// FIXME with Ninja it crashes! For now not relay
needed! ck
+  }
+
  const cmTargets& targets = (*it)->GetMakefile()->GetTargets();
  cmMakefile* makefile=(*it)->GetMakefile();
  std::string subdir =
(*it)->Convert(makefile->GetCurrentOutputDirectory(),
claus-kleins-macbook-pro:cmake clausklein$



//Regards
Claus





On 26.06.2012, at 16:39, David Cole wrote:


Thanks.

I've pushed a fix and merged it to 'next' -- we'll get it into rc2.

http://cmake.org/gitweb?p=3Dcmake.git;a=3Dcommitdiff;h=3Db163c45445ce75eb=
68d0835b24d4c90ad5b9f6f7





--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers




--
Bill Hoffman
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
bill.hoff...@kitware.com
http://www.kitware.com
518 881-4905 (Direct)
518 371-3971 x105
Fax (518) 371-4573


--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] [CMake] CMake 2.8.9-rc1 ready for testing!

2012-06-26 Thread Claus Klein

Hi Dave,

I found one more Ninja issue;

The Ninja Eclipse Generator crashes while make target generation. No  
Idea why, but this helps for now:


diff --git a/Source/cmExtraEclipseCDT4Generator.cxx b/Source/ 
cmExtraEclipseCDT4Generator.cxx

index ab11307..b9e360b 100644
--- a/Source/cmExtraEclipseCDT4Generator.cxx
+++ b/Source/cmExtraEclipseCDT4Generator.cxx
@@ -964,6 +964,11 @@ void  
cmExtraEclipseCDT4Generator::CreateCProjectFile() const

it != this->GlobalGenerator->GetLocalGenerators().end();
++it)
 {
+if (std::string("Ninja") == generator->GetName())
+  {
+  break;// FIXME with Ninja it crashes! For now not relay  
needed! ck

+  }
+
 const cmTargets& targets = (*it)->GetMakefile()->GetTargets();
 cmMakefile* makefile=(*it)->GetMakefile();
 std::string subdir = (*it)->Convert(makefile- 
>GetCurrentOutputDirectory(),

claus-kleins-macbook-pro:cmake clausklein$



//Regards
Claus





On 26.06.2012, at 16:39, David Cole wrote:


Thanks.

I've pushed a fix and merged it to 'next' -- we'll get it into rc2.

 http://cmake.org/gitweb?p=3Dcmake.git;a=3Dcommitdiff;h=3Db163c45445ce75eb=
68d0835b24d4c90ad5b9f6f7



--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers