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 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

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

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 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, 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 bill.hoff...@kitware.com 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] CMake 2.8.9-rc1 ready for testing!

2012-06-25 Thread David Cole
Was your source the .zip file by any chance? (That one intentionally
has text files with Windows-style line endings in it.)

If so, please try the .tar.gz file instead.

I've bootstrapped on my Mac just fine with files that have Unix-style
line endings


Thanks,
David


On Sat, Jun 23, 2012 at 6:05 PM, Nicholas Yue yue.nicho...@gmail.com wrote:
 On 23/06/12 5:34 AM, 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

 Hi,

    I tried bootstrapping on OS X Lion 10.7.4 x64 with XCode 4.3.2 and GCC
 4.2.1

    The boot strapping process created files like Bootstrap.cmk/cmConfigure.h
 and Bootstrap.cmk/cmVersionConfig.h which contains ^M characters.

    This causes the bootstrap compile to fail.

    I am not good with shell script debugging but it seems related to the
 shell function cmake_version_component()

    My interest in building CMake 2.8.9rc1 on OS X was to check if the
 failure to find Eclipse 3.7 on OS X when using the Eclipse generator has
 been resolved.

 Regards

 --
 Nicholas Yue
 Graphics - RenderMan, Visualization, OpenGL, HDF5
 Custom Dev - C++ porting, OSX, Linux, Windows
 Management - Recruitment, career management
 http://www.proceduralinsight.com/
 http://au.linkedin.com/in/nicholasyue


 --

 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://www.cmake.org/mailman/listinfo/cmake
--

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://www.cmake.org/mailman/listinfo/cmake


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

2012-06-25 Thread David Cole
On Sat, Jun 23, 2012 at 5:32 PM, Clifford Yapp cliffy...@gmail.com wrote:
 On Fri, Jun 22, 2012 at 3:34 PM, David Cole david.c...@kitware.com wrote:
 I am happy to announce that CMake 2.8.9 has entered the release candidate 
 stage!

 Awesome!  I tried 2.8.9-rc1 with the latest Ninja, and it looks like
 this issue is still present:

 http://public.kitware.com/Bug/view.php?id=13145

 Not sure if that was on the fix it for 2.8.9 agenda, but figured I'd
 mention it given all the other Ninja work visible in the changelogs.


That issue is not on the 2.8.9 agenda... you can tell from the issue
tracker by looking at the Target Version field on a specific issue's
page, which controls whether it shows up on the roadmap page for that
version.


 Cheers,
 CY
 --

 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://www.cmake.org/mailman/listinfo/cmake
--

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://www.cmake.org/mailman/listinfo/cmake


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

2012-06-23 Thread Clifford Yapp
On Fri, Jun 22, 2012 at 3:34 PM, David Cole david.c...@kitware.com wrote:
 I am happy to announce that CMake 2.8.9 has entered the release candidate 
 stage!

Awesome!  I tried 2.8.9-rc1 with the latest Ninja, and it looks like
this issue is still present:

http://public.kitware.com/Bug/view.php?id=13145

Not sure if that was on the fix it for 2.8.9 agenda, but figured I'd
mention it given all the other Ninja work visible in the changelogs.

Cheers,
CY
--

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://www.cmake.org/mailman/listinfo/cmake


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

2012-06-23 Thread Nicholas Yue

On 23/06/12 5:34 AM, 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

Hi,

I tried bootstrapping on OS X Lion 10.7.4 x64 with XCode 4.3.2 and 
GCC 4.2.1


The boot strapping process created files like 
Bootstrap.cmk/cmConfigure.h and Bootstrap.cmk/cmVersionConfig.h which 
contains ^M characters.


This causes the bootstrap compile to fail.

I am not good with shell script debugging but it seems related to 
the shell function cmake_version_component()


My interest in building CMake 2.8.9rc1 on OS X was to check if the 
failure to find Eclipse 3.7 on OS X when using the Eclipse generator has 
been resolved.


Regards

--
Nicholas Yue
Graphics - RenderMan, Visualization, OpenGL, HDF5
Custom Dev - C++ porting, OSX, Linux, Windows
Management - Recruitment, career management
http://www.proceduralinsight.com/
http://au.linkedin.com/in/nicholasyue

--

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://www.cmake.org/mailman/listinfo/cmake