<br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 5:36 AM, Andreas Raab <span dir="ltr">&lt;<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</a>&gt;</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;">

<div class="im"><br>
On 7/22/2010 5:24 PM, David T. Lewis wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
On Thu, Jul 22, 2010 at 02:15:01PM -0700, Andreas Raab wrote:<br>
</div><div class="im"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Seriously? You mean that if I drop the stuff from<br>
<a href="http://eleves.ec-lille.fr/%7Ecouprieg/divers/patches.zip" target="_blank">http://eleves.ec-lille.fr/~couprieg/divers/patches.zip</a> into my build<br>
tree cmake will magically generate MSVC build files and it&#39;ll just work?<br>
If that&#39;s actually true, I&#39;m sold :-)<br>
<br>
I&#39;ll try it tonight.<br>
</blockquote>
<br>
It&#39;s possible that it actually *is* true. This is exactly what CMake<br>
was designed to do (hence the name, &quot;Cross-platform Make&quot;).<br>
</div></blockquote>
<br>
Not much success. I tried running CMake naively and was instantly greeted with the recommendation to run cmake/configure. Which of course is a shell script so needs to be run from Cygwin. </blockquote><div> </div><div>Sorry about that. When I wrote my patches, I was using MinGW on Linux or on Windows with MSYS, so a shell was easier to use. I didn&#39;t consider MSVC at that time. I can fix it and not require a shell.<br>

 </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">When I do that (after some fiddling with --src and --generator) it complains that the win32 directory doesn&#39;t have a CMakeLists.txt:<br>


<br>
$ ../platforms/win32/cmake/configure --src=./src/ --generator=&quot;Visual Studio 10&quot;<br>
-- Configuring squeak  for i686-pc-cygwin<br>
-- Using source directory /cygdrive/c/SqueakVM/cmake-test/winbuild/src<br>
-- Using generator Visual Studio 10<br>
../platforms/win32 -DVM_HOST=i686-pc-cygwin -DPLATFORM_SOURCE_VERSION= -DVM_VERSION= -DOPT--src=/cygdrive/c/SqueakVM/cmake-test/winbuild/src<br>
CMake Error: The source directory &quot;C:/SqueakVM/cmake-test/platforms/win32&quot; does not appear to contain CMakeLists.txt.<br>
Specify --help for usage, or press the help button on the CMake GUI.<br>
<br>
Which is correct, but I don&#39;t see a CMakeLists.txt in the patches. So I&#39;m at a loss at this point. Geoffrey, any instructions?</blockquote><div> </div><div>That&#39;s weird. IIRC, the file platforms/CMakeLists.txt file exists, and it shouldn&#39;t look for that file in platforms/win32. I&#39;ll fix the configure script this evening.<br>

</div></div>