<br><br><div class="gmail_quote">On Fri, Jul 23, 2010 at 5:36 AM, Andreas Raab <span dir="ltr"><<a href="mailto:andreas.raab@gmx.de">andreas.raab@gmx.de</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;">
<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'll just work?<br>
If that's actually true, I'm sold :-)<br>
<br>
I'll try it tonight.<br>
</blockquote>
<br>
It's possible that it actually *is* true. This is exactly what CMake<br>
was designed to do (hence the name, "Cross-platform Make").<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'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't have a CMakeLists.txt:<br>
<br>
$ ../platforms/win32/cmake/configure --src=./src/ --generator="Visual Studio 10"<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 "C:/SqueakVM/cmake-test/platforms/win32" 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't see a CMakeLists.txt in the patches. So I'm at a loss at this point. Geoffrey, any instructions?</blockquote><div> </div><div>That's weird. IIRC, the file platforms/CMakeLists.txt file exists, and it shouldn't look for that file in platforms/win32. I'll fix the configure script this evening.<br>
</div></div>