[Vm-dev] CMake for Windows

Mariano Martinez Peck marianopeck at gmail.com
Wed Apr 6 17:55:57 UTC 2011


On Fri, Apr 1, 2011 at 1:22 PM, Mariano Martinez Peck <marianopeck at gmail.com
> wrote:

>
>
> On Fri, Apr 1, 2011 at 12:54 PM, Igor Stasenko <siguctua at gmail.com> wrote:
>
>>
>> On 1 April 2011 09:56, Mariano Martinez Peck <marianopeck at gmail.com>
>> wrote:
>> >
>> >
>> >
>> > On Fri, Apr 1, 2011 at 12:15 AM, Igor Stasenko <siguctua at gmail.com>
>> wrote:
>> >>
>> >> On 31 March 2011 22:37, Mariano Martinez Peck <marianopeck at gmail.com>
>> wrote:
>> >> >
>> >> > Hi Igor.  I saw CogMsWindowsConfig   but I have a couple of
>> questions:
>> >> >
>> >> > 1) is it working ?
>> >> >
>> >> yes. I can build all 3 kinds of VMs: stack, cog, and cogmt.
>> >>
>> >
>> > Excellent
>> >
>> >>
>> >> > 2) how do you use cmake in a windows box ?  cygwin ?
>> >> >
>> >> read MsWindowsConfig class comment. i documented steps, which you need
>> >> to set things up.
>> >>
>> >
>> > That's nice :)
>> > I didn't see it before. Everything I need is there.
>> >
>> > BTW, why unix and windows compiled vms go to /results and with MacOS in
>> /build ?
>> >
>>
>> Historically :)
>>
>> Well, mac os using nice .app directory convention. So, in a single
>> directory you having an application
>> and all its resources nicely encasulated.
>> I could of course put it to results, so, it will create
>> results/appName.app/
>> subdir, but that makes not much sense.
>>
>>
> In fact, that makes sense for me :)
> because that way you always know where to go to search for the compiled VM.
> And even more you don't confuse /build with its results.
>
>
Here it is...I've just commited. Be careful that if you accept these
changes...you may need to update hudson or some other guy that knows where
to find the results. Tested on Mac and Linux. I couldn't test Windows,
sorry.


Name: CMakeVMMaker-MarianoMartinezPeck.69
Author: MarianoMartinezPeck
Time: 6 April 2011, 7:54:31 pm
UUID: 3b75bf4c-cf11-448c-9aad-e858a324f9d6
Ancestors: CMakeVMMaker-MarianoMartinezPeck.68

Change the outputDir so that now all confs in all OS are uniform: all of
them let the binary in the parent directoty under a directory /results.

So.../results will be just next to /platforms, /src, etc.

Putting /results inside /build was VERY difficult to find.




> Cheers
>
> mariano
>
>
>> >
>> >>
>> >> > 3) how are you now compiling the windows vm (in case you are) ?
>> >> >
>> >> as usual :) actually not sure i understood your question.
>> >
>> > The class comment did, don't worry :)
>> >
>> Good to know that it were useful :)
>>
>> --
>> Best regards,
>> Igor Stasenko AKA sig.
>>
>
>


-- 
Mariano
http://marianopeck.wordpress.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110406/dbd67c37/attachment.htm


More information about the Vm-dev mailing list