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&#39;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> &lt;<a href="mailto:mathieu.malaterre@gmail.com">mathieu.malaterre@gmail.com</a>&gt; 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>&nbsp;&nbsp;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 &lt;<a href="mailto:peter@icmanage.com">
peter@icmanage.com</a>&gt; wrote:<br>&gt; I solved my own problem by downloading and building the latest cmake:<br>&gt;<br>&gt; cmake --version<br>&gt; cmake version 2.4-patch 7<br>&gt;<br>&gt; Sorry for the fire drill. :-(
<br>&gt;<br>&gt;<br>&gt; Peter Hackett wrote:<br>&gt; &gt; Following the instructions listed on the gccxml web site, I get:<br>&gt; &gt;<br>&gt; &gt; running /bin/sh<br>&gt; &gt; &quot;/users/peter/downloads/software/gnu/gccxml/cvs080107/GCC/config_cmake/gcc_platform.sh&quot;
<br>&gt; &gt; &quot;/users/peter/downloads/software/gnu/gccxml/cvs080107.build/GCC/config_cmake/gcc_platform.cmake&quot;<br>&gt; &gt; &quot;/usr/bin/cmake&quot;&nbsp;&nbsp;2&gt;&amp;1<br>&gt; &gt; CMake Error: Error in cmake code at
<br>&gt; &gt; /users/peter/downloads/software/gnu/gccxml/cvs080107/GCC/gcc/CMakeLists.txt:64:<br>&gt; &gt;<br>&gt; &gt; Unknown CMake command &quot;ELSEIF&quot;.<br>&gt; &gt;<br>&gt; &gt; Here&#39;s exactly what I did:<br>
&gt; &gt;<br>&gt; &gt; mkdir /users/peter/downloads/software/gnu/gccxml<br>&gt; &gt; cd /users/peter/downloads/software/gnu/gccxml<br>&gt; &gt;<br>&gt; &gt; mkdir cvs080107<br>&gt; &gt; cd cvs080107<br>&gt; &gt;<br>&gt; &gt; cvs -d :
pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML login<br>&gt; &gt;<br>&gt; &gt; cvs -d :pserver:anoncvs@www.gccxml.org:/cvsroot/GCC_XML co gccxml<br>&gt; &gt; ~ 3 1/2 minutes<br>&gt; &gt;&nbsp;&nbsp; ~ 80 Mbytes<br>&gt; &gt;<br>&gt; &gt; mv gccxml/* .
<br>&gt; &gt; rmdir gccxml<br>&gt; &gt;<br>&gt; &gt; mkdir ../cvs080107.build<br>&gt; &gt; cd ../cvs080107.build<br>&gt; &gt;<br>&gt; &gt; cmake -DCMAKE_INSTALL_PREFIX:PATH=/users/peter/gccxml ../cvs080107 \<br>&gt; &gt;&nbsp;&nbsp; |&amp; tee 
cmake.out<br>&gt; &gt;<br>&gt; &gt; I&#39;m running on Suse 10.2 (X86-64)<br>&gt; &gt; and<br>&gt; &gt; cmake --version<br>&gt; &gt; cmake version 2.4-patch 3<br>&gt; &gt;<br>&gt; &gt; I&#39;ll continue to poke away, but if anyone has any ideas about what&#39;s
<br>&gt; &gt; going wrong ...<br>&gt; &gt;<br>&gt; &gt; _______________________________________________<br>&gt; &gt; gccxml mailing list<br>&gt; &gt; <a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a><br>&gt; &gt; <a href="http://www.gccxml.org/mailman/listinfo/gccxml">
http://www.gccxml.org/mailman/listinfo/gccxml</a><br>&gt; _______________________________________________<br>&gt; gccxml mailing list<br>&gt; <a href="mailto:gccxml@gccxml.org">gccxml@gccxml.org</a><br>&gt; <a href="http://www.gccxml.org/mailman/listinfo/gccxml">
http://www.gccxml.org/mailman/listinfo/gccxml</a><br>&gt;<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>