[Bf-committers] Re: msvcgen: Autogeneration of Visual
Studioprojectfiles (all versions)
erwin at erwincoumans.com
erwin at erwincoumans.com
Wed May 17 22:27:01 CEST 2006
Hi Gilbert,
Here are some more details of msvcgen.
But beware: I'm not asking you to do the initial setup of this
autogeneration system :-)
Main thing is that once it is setup, the autogeneration makes it easier to
maintain projectfiles, for all systems (6/7/7.1/8 and future).
The initial setup is not trivial. It requires unix, jam, perl, and 2
template toolkits installed. Some links for convenience:
http://www.template-toolkit.org/
http://search.cpan.org/dist/AppConfig/
http://www.perforce.com/jam/jam.html
ftp://ftp.perforce.com/pub/jam/
From then, you can just run jam msvcgen to autogenerate all.
It is in Bullet sourcecode, download here:
http://www.continuousphysics.com/Bullet
unzip Bullet and inspect msvc for output, and mk/ folder for templates.
I'm sure most features can be built into the templates (like post and
prebuild steps etc). I didnt write the system, I can get you in touch with
the developers if you like.
Thanks,
Erwin
Gilbert, Joseph T. writes:
> Is there an example jam makefile your using for the bullet project that
> you run?
>
> -----Original Message-----
> From: bf-committers-bounces at projects.blender.org
> [mailto:bf-committers-bounces at projects.blender.org] On Behalf Of
> erwin at erwincoumans.com
> Sent: Wednesday, May 17, 2006 2:37 PM
> To: bf-blender developers
> Subject: [Bf-committers] Re: msvcgen: Autogeneration of Visual
> Studioprojectfiles (all versions)
>
>
> The system works great, and just like now you have the projectfile
> checked
> into cvs.
>
> Basically, instead of manually making all the changes for each version
> (6/7/7.1/8) you run 'jam msvcgen' and it creates updated projectfiles.
>
> Then you simply commit the change for ALL versions.
> Erwin
>
>
> Gilbert, Joseph T. writes:
>
>> How does the sytem work?
>> Do you have to commit all the projectfile versions to cvs?
>> When do you run the jam makefile to generate the projectfiles?
>> When I modify a projectfile I can't simply commit the change. I would
>> need to...?
>>
>>
>> -----Original Message-----
>> From: bf-committers-bounces at projects.blender.org
>> [mailto:bf-committers-bounces at projects.blender.org] On Behalf Of
>> erwin at erwincoumans.com
>> Sent: Wednesday, May 17, 2006 1:48 PM
>> To: bf-blender developers
>> Subject: [Bf-committers] msvcgen: Autogeneration of Visual Studio
>> projectfiles (all versions)
>>
>> Hi,
>>
>> There is a way to auto generate MSVC 6/7/8 Visual Studio files. I am
>> very
>> happy with a contribution to Bullet that came from Crystal Space.
>> It is jam based, and requires some other files, but once it is setup,
> it
>> is
>> much easier to maintain then manually updating. It even handles
>> dependencies.
>>
>> If you like, you can see some example here:
>> http://svn.sourceforge.net/viewcvs.cgi/bullet/bullet-1.5b/msvc/
>>
>> Is there interest to add such system, purely to make the MSVC files
> more
>>
>> maintainable?
>>
>> Erwin
>>
>> By the way, I did the first msvc files for Blender back in 2000, all
>> manually. Such system would have been very useful back then!
>>
>>
>> Tom M writes:
>>
>>> Scott,
>>>
>>> "Is .NET the same as vc 7? Sorry, I am somewhat new to VC - I
> usually
>>> use either KDevelop or CodeBlocks."
>>>
>>> You can use cygwin (gcc tools and posix environment for windows) and
>>> CodeBlocks on windows pretty much the same as you would on linux.
>>>
>>> LetterRip
>>> _______________________________________________
>>> Bf-committers mailing list
>>> Bf-committers at projects.blender.org
>>> http://projects.blender.org/mailman/listinfo/bf-committers
>>
>>
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-committers
>> _______________________________________________
>> Bf-committers mailing list
>> Bf-committers at projects.blender.org
>> http://projects.blender.org/mailman/listinfo/bf-committers
>
>
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at projects.blender.org
> http://projects.blender.org/mailman/listinfo/bf-committers
More information about the Bf-committers
mailing list