[CMake] segfault with ccmake, not with cmake

Prakash Punnoor prakash at punnoor.de
Mon Apr 23 16:25:13 EDT 2007


Am Montag 23 April 2007 schrieb David Cole:
> Try using different PROJECT names for your C and Cxx projects...
> (Although it should not crash, anyhow, maybe this helps you get past
> the crash...?) It's probably not well defined to have 2 PROJECT
> commands with the same name. Especially ones that have different
> languages listed.

That doesn't explain why the ENABLE_LANGUAGE feature leads to the same 
segfault.

>
> HTH,
> David
>
> On 4/23/07, Prakash Punnoor <prakash at punnoor.de> wrote:
> > Am Sonntag 22 April 2007 schrieb Alan W. Irwin:
> > > Of course, trying to build a C++ library without C++ enabled should
> > > generate an error message so it appears the segfault you got for ccmake
> > > and no error message for cmake are a CMake bug.
> > >
> > > Of course, this bug may have been fixed already.  What version of cmake
> > > and what platform?
> >
> > yesterday's cvs and linux x86_64.
> >
> > > If you want to optionally enable the CXX language, then specify just
> > > the C language to PROJECT and optionally use the ENABLE_LANGUAGE(CXX)
> > > command. That works fine for me except note Bug #4772 -
> > > CMAKE_BUILD_TYPE does not work correctly for language enabled with
> > > ENABLE_LANGUAGE
> >
> > Thx for the hint. Didn't notice it. Since when is it there?
> >
> > But it doesn't help me as it still segfaults.
> >
> > --
> > (°=                 =°)
> > //\ Prakash Punnoor /\\
> > V_/                 \_V
> >
> > _______________________________________________
> > CMake mailing list
> > CMake at cmake.org
> > http://www.cmake.org/mailman/listinfo/cmake



-- 
(°=                 =°)
//\ Prakash Punnoor /\\
V_/                 \_V
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://public.kitware.com/pipermail/cmake/attachments/20070423/5cafdef9/attachment.pgp


More information about the CMake mailing list