Top of GCC_XML/CMakeLists.txt :<br><br># We now need at least CMake 2.4.5 to get some custom command fixes<br># and a working INSTALL(DIRECTORY).<br>CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5 FATAL_ERROR)<br><br>Not sure why it didn't kick in for Peter... Maybe we need one in GCC/CMakeLists.txt, too.
<br><br><br><div><span class="gmail_quote">On 1/8/08, <b class="gmail_sendername">Mathieu Malaterre</b> <<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Brad,<br><br>  Could you change the minimum requirement to 2.4.5<br><br>CMAKE_MINIMUM_REQUIRED(VERSION 2.4.5)<br><br>Thanks<br>-Mathieu<br><br>On Jan 8, 2008 12:46 AM, Peter Hackett <<a href="mailto:peter@icmanage.com">
peter@icmanage.com</a>> wrote:<br>> I solved my own problem by downloading and building the latest cmake:<br>><br>> cmake --version<br>> cmake version 2.4-patch 7<br>><br>> Sorry for the fire drill. :-(
<br>><br>><br>> Peter Hackett wrote:<br>> > Following the instructions listed on the gccxml web site, I get:<br>> ><br>> > running /bin/sh<br>> > "/users/peter/downloads/software/gnu/gccxml/cvs080107/GCC/config_cmake/gcc_platform.sh"
<br>> > "/users/peter/downloads/software/gnu/gccxml/cvs080107.build/GCC/config_cmake/gcc_platform.cmake"<br>> > "/usr/bin/cmake"  2>&1<br>> > CMake Error: Error in cmake code at
<br>> > /users/peter/downloads/software/gnu/gccxml/cvs080107/GCC/gcc/CMakeLists.txt:64:<br>> ><br>> > Unknown CMake command "ELSEIF".<br>> ><br>> > Here's exactly what I did:<br>
> ><br>> > mkdir /users/peter/downloads/software/gnu/gccxml<br>> > cd /users/peter/downloads/software/gnu/gccxml<br>> ><br>> > mkdir cvs080107<br>> > cd cvs080107<br>> ><br>> > cvs -d :
pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML login<br>> ><br>> > cvs -d :pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML co gccxml<br>> > ~ 3 1/2 minutes<br>> >   ~ 80 Mbytes<br>> ><br>> > mv gccxml/* .
<br>> > rmdir gccxml<br>> ><br>> > mkdir ../cvs080107.build<br>> > cd ../cvs080107.build<br>> ><br>> > cmake -DCMAKE_INSTALL_PREFIX:PATH=/users/peter/gccxml ../cvs080107 \<br>> >   |& tee 
cmake.out<br>> ><br>> > I'm running on Suse 10.2 (X86-64)<br>> > and<br>> > cmake --version<br>> > cmake version 2.4-patch 3<br>> ><br>> > I'll continue to poke away, but if anyone has any ideas about what's
<br>> > going wrong ...<br>> ><br>> > _______________________________________________<br>> > gccxml mailing list<br>> > <a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a><br>> > <a href="http://www.gccxml.org/mailman/listinfo/gccxml">
http://www.gccxml.org/mailman/listinfo/gccxml</a><br>> _______________________________________________<br>> gccxml mailing list<br>> <a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a><br>> <a href="http://www.gccxml.org/mailman/listinfo/gccxml">
http://www.gccxml.org/mailman/listinfo/gccxml</a><br>><br><br><br><br>--<br>Mathieu<br>_______________________________________________<br>gccxml mailing list<br><a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a><br>
<a href="http://www.gccxml.org/mailman/listinfo/gccxml">http://www.gccxml.org/mailman/listinfo/gccxml</a><br></blockquote></div><br>