CMake for Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

CMake for Windows

Mariano Martinez Peck
 
Hi Igor.  I saw CogMsWindowsConfig   but I have a couple of questions:

1) is it working ?

2) how do you use cmake in a windows box ?  cygwin ?

3) how are you now compiling the windows vm (in case you are) ?

cheers

Mariano
Reply | Threaded
Open this post in threaded view
|

Re: CMake for Windows

Igor Stasenko

On 31 March 2011 22:37, Mariano Martinez Peck <[hidden email]> 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.

> 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.

> 3) how are you now compiling the windows vm (in case you are) ?
>
as usual :) actually not sure i understood your question.

> cheers
>
> Mariano
>
>



--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: CMake for Windows

Mariano Martinez Peck
 


On Fri, Apr 1, 2011 at 12:15 AM, Igor Stasenko <[hidden email]> wrote:

On 31 March 2011 22:37, Mariano Martinez Peck <[hidden email]> 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 ?

 
> 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 :)
 

> cheers
>
> Mariano
>
>



--
Best regards,
Igor Stasenko AKA sig.

Reply | Threaded
Open this post in threaded view
|

Re: CMake for Windows

Igor Stasenko

On 1 April 2011 09:56, Mariano Martinez Peck <[hidden email]> wrote:

>
>
>
> On Fri, Apr 1, 2011 at 12:15 AM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 31 March 2011 22:37, Mariano Martinez Peck <[hidden email]> 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.

>
>>
>> > 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.
Reply | Threaded
Open this post in threaded view
|

Re: CMake for Windows

Mariano Martinez Peck
 


On Fri, Apr 1, 2011 at 12:54 PM, Igor Stasenko <[hidden email]> wrote:

On 1 April 2011 09:56, Mariano Martinez Peck <[hidden email]> wrote:
>
>
>
> On Fri, Apr 1, 2011 at 12:15 AM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 31 March 2011 22:37, Mariano Martinez Peck <[hidden email]> 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.

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.

Reply | Threaded
Open this post in threaded view
|

Re: CMake for Windows

Mariano Martinez Peck
 


On Fri, Apr 1, 2011 at 1:22 PM, Mariano Martinez Peck <[hidden email]> wrote:


On Fri, Apr 1, 2011 at 12:54 PM, Igor Stasenko <[hidden email]> wrote:

On 1 April 2011 09:56, Mariano Martinez Peck <[hidden email]> wrote:
>
>
>
> On Fri, Apr 1, 2011 at 12:15 AM, Igor Stasenko <[hidden email]> wrote:
>>
>> On 31 March 2011 22:37, Mariano Martinez Peck <[hidden email]> 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

Reply | Threaded
Open this post in threaded view
|

Re: CMake for Windows

Igor Stasenko

On 6 April 2011 19:55, Mariano Martinez Peck <[hidden email]> wrote:

>
>
>
> On Fri, Apr 1, 2011 at 1:22 PM, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>> On Fri, Apr 1, 2011 at 12:54 PM, Igor Stasenko <[hidden email]> wrote:
>>>
>>> On 1 April 2011 09:56, Mariano Martinez Peck <[hidden email]> wrote:
>>> >
>>> >
>>> >
>>> > On Fri, Apr 1, 2011 at 12:15 AM, Igor Stasenko <[hidden email]> wrote:
>>> >>
>>> >> On 31 March 2011 22:37, Mariano Martinez Peck <[hidden email]> 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 :)

and if you using finder.. then yes you can be lost.

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

--
Best regards,
Igor Stasenko AKA sig.
Reply | Threaded
Open this post in threaded view
|

Re: CMake for Windows

Mariano Martinez Peck
 


On Wed, Apr 6, 2011 at 10:36 PM, Igor Stasenko <[hidden email]> wrote:

On 6 April 2011 19:55, Mariano Martinez Peck <[hidden email]> wrote:
>
>
>
> On Fri, Apr 1, 2011 at 1:22 PM, Mariano Martinez Peck <[hidden email]> wrote:
>>
>>
>> On Fri, Apr 1, 2011 at 12:54 PM, Igor Stasenko <[hidden email]> wrote:
>>>
>>> On 1 April 2011 09:56, Mariano Martinez Peck <[hidden email]> wrote:
>>> >
>>> >
>>> >
>>> > On Fri, Apr 1, 2011 at 12:15 AM, Igor Stasenko <[hidden email]> wrote:
>>> >>
>>> >> On 31 March 2011 22:37, Mariano Martinez Peck <[hidden email]> 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