[Bf-committers] CVS, Make & MSVC

Rene Dudfield bf-committers@blender.org
Thu, 24 Oct 2002 09:58:49 +0100 (BST)

The crystal space msvc generator is in this directory
of the crystal space distribution:  

The main author is Eric Sunshine.  It's written in
perl(so a perl interpreter would be needed).  I can't
really play around with it as I don't have msvc.  So
hopefully someone else can have a look.

It might not be too hard to extract the info the
generator needs from the autotools make files.

Also tmake/qmake/cmake have some code for generating
msvc project files.

I think bundling cmake with blender may be an option. 
To make it easy to for users to install.  The absolute
path name issue should be able to be solved as well.

 --- Rene Dudfield <illumen@yahoo.com> wrote: >  ---
Upi Tamminen <desaster@dragonlight.fi> wrote: >
> Hmm.. CMake seems to generate absolute paths instead
> > of relative in the
> > Makefiles, e.g.:
> > 
> > /home/desaster/blender/source/cmake/blender
> > /home/desaster/blender/source/cmake/blender
> > 
> > So these generated makefiles are only useful to
> me,
> > not for releases
> This is not good.  Maybe it is an option.  If not
> may
> not be too hard to add as an option.  Or write a
> script which replaces
> '/home/desaster/blender/source/cmake/blender' with
> the
> top level dir of the blender install.
> > 
> > Also, cmake does lot of important checks when ran,
> > just like autotools'
> > configure script.  End-users would need to install
> > cmake to properly
> > build blender, while with autotools the generated
> > configure script is totally
> > independent of autoconf/automake
> > 
> That is a big plus for the autotools.  Perhaps we
> could package cmake with blender?  cmake has
> practically no dependencies.
> The other option is create project files from the
> autotools somehow.  Anyone able to do this within a
> couple of weeks/months?  I'll look some more at the
> crystalspace tool, see if it is useful.
> Which ever method is used for generating project
> files,   the config step will need to run on the
> users
> system.

Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts