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.
HTH, David On 4/23/07, Prakash Punnoor <[EMAIL PROTECTED]> 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 [email protected] http://www.cmake.org/mailman/listinfo/cmake
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
