[Vm-dev] CMake for Windows

Mariano Martinez Peck marianopeck at gmail.com
Wed Apr 6 21:15:53 UTC 2011


On Wed, Apr 6, 2011 at 10:36 PM, Igor Stasenko <siguctua at gmail.com> wrote:

>
> On 6 April 2011 19:55, Mariano Martinez Peck <marianopeck at gmail.com>
> wrote:
> >
> >
> >
> > 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.
>
> difficult?
> just start typing 'cd r' <tab> in console and you there :)
>
>
Yes...but how the hell I have to guess that I have to do a cd r tab ?  how
do I know that the binary is put there?
Ok...after a while I found it..and then I found the class comment in
CogMsWindowsConfig.


> and if you using finder.. then yes you can be lost.
>
>
yes, /result is lost inside so many folders under build.


> But anyways, if you think it would be better , then let it be like you
> did. I don't really care.
>

yes, having a uniform and easy-to-find place  for all OS is better from me
:)


>
> --
> 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/8cfdfda6/attachment.htm


More information about the Vm-dev mailing list