<div class="gmail_quote">On Sat, Jan 22, 2011 at 8:15 AM, Pau Garcia i Quiles <span dir="ltr"><<a href="mailto:pgquiles@elpauer.org">pgquiles@elpauer.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello,<br>
<br>
I've been using ExternalProject_Add and I have to say IMHO it's one of<br>
the best features added to CMake in the last years. It works great for<br>
me on Linux (makefiles), MSVC2010 (NMake Makefiles) and Mac<br>
(makefiles).<br>
<br>
Together with a small .sh (Unix) and a .bat (Windows), you can make<br>
your project full bootstrappable and only depend on the user having a<br>
C++ compiler (not even CMake, which has been the biggest argument<br>
against CMake by autotools fans)<br>
<br>
Now to the bad news:<br>
<br>
- I have experienced lots of race conditions on Windows, both with<br>
Cygwin and NMake<br></blockquote><div><br>What sort of race conditions? And how do you know they are race conditions?<br><br> <br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
- I've tried to use it with MSVC solutions but if fails miserable with<br>
errors about cmd.exe. Is this by design or is it a bug?<br></blockquote><div><br>We do not intend to fail miserably, so I'm going to say that it's not by design... but if you are specifying commands that will not succeed, then perhaps it's by design on your side... :-)<br>
<br><br>Can you send a small example project that fails miserably, or is it only the large complicated full project build that fails miserably? (Can you run the "ExternalProject" test from the CMake test suite and have it succeed in your environment?)<br>
<br><br>Thanks,<br>David<br><br><br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
I'm using the latest CMake snapshot. The project is here:<br>
<br>
<a href="http://gitorious.org/winstng" target="_blank">http://gitorious.org/winstng</a><br>
<br>
See 'winst' and 'winst.bat' if you are interested in the boostrapping part.<br>
<br>
--<br>
Pau Garcia i Quiles<br>
<a href="http://www.elpauer.org" target="_blank">http://www.elpauer.org</a><br>
(Due to my workload, I may need 10 days to answer)<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br>